Re: [Queue-developers] some questions
Brought to you by:
wkrebs
From: QingLong <qin...@Bo...> - 2001-02-22 14:58:30
|
On Thu, Feb 22, 2001 at 12:14:41PM +0100, Gert Van den Eynde wrote: > > and using the verbose option from queue gives me this: > > --- > Requesting load average for queue "now" on host "fermi"... > The host "fermi"is not able to serve queue "now". > Failed to submit job in queue "now" to host "fermi". > --- > > However, if I start queued in debug mode (queued --debug), I get this from queue --verbose .... > > --- > Requesting load average for queue "now" on host "fermi"... > Host "fermi" appears to be able to serve queue "now". > Ok, connecting to QueueD at it. > Trying "fermi"... > Going to submit job to queue "now" on host "fermi". > queue.c: main(): tty(in/out/err): 1 1 1. > queued handle.c handle(): going to try to run "hostname". > queued handle.c handle(): assembled full path: "/bin/hostname". > queued handle.c handle(): going to execve(/bin/hostname). > fermi > --- > I believe, I know what's happening. IMHO, the problem matter is ``having a sleep() before going to job'' code in queued.c (approx line 890) which is skipped in debug mode. It looks like the code isn't elaborate and isn't working as it ought to. I have already pointed this problem out here. The only known solution by now is: wait for a while (to be precise: sleeptime) and queued will wake up and start working. Please, tell me if my guess is correct. QingLong. |