Google Answers Logo
View Question
 
Q: atd and load question ( No Answer,   0 Comments )
Question  
Subject: atd and load question
Category: Computers > Operating Systems
Asked by: shaunnx-ga
List Price: $3.00
Posted: 13 Sep 2002 08:27 PDT
Expires: 02 Oct 2002 06:35 PDT
Question ID: 64649
okay, got a linux question about 'atd'.

i'm running RedHat Linux 7.2 kernel 2.4.7-10 
on an intel box (dell for what it's worth).

i have a job that creates a shell script
and batches it.  the script goes into
the /var/spool/at directory (which, by the
way, is NOT NFS mounted).

the linux server is always busy and never
seems to run the job.  i look and the man
page for atd says, 'atd will run the job by
default if the loadavg is about .8;  use
the '-l' option to make adjustments'.

so ... i configure the atd script to 
run with a pre-defined load average
of 4 (our system never goes under that).

now, when a job is submitted and is 
placed in the /var/spool/at directory,
the script disappears (i assume that it's being
processed) ... BUT ... when i search for the
job (i have the job number) or 'ps auwwx'
around, i can find no trace of the job, the
job number, the process, or anything related.

other items of interest:

-- when the job was placed in the /var/spool/at
directory, the script is owned by 'nobody' and
the group is some wild 10 digit number (4294967295
to be exact).  i didn't think that would matter, but it may.

-- also, the permissions and owner for the /var/spool, 
/var/spool/at and /var/spool/at/spool are:

drwxr-xr-x   14 root     root         4096 Jan 29  2002 spool

drwx------    3 daemon   daemon       4096 Sep 12 17:23 at

drwx------    2 daemon   daemon       4096 Sep 12 17:23 spool

--there doesn't seem to be ANY errors in /var/log/messages

-- lastly, when i launch at job by hand ('at now blah, blah, blah')
the job is put in queue and runs okay.

any suggestions?

-X
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy