Re: [Queue-developers] Re: some questions
Brought to you by:
wkrebs
From: Gert V. d. E. <gvd...@sc...> - 2001-02-23 07:46:57
|
Hi QingLong, Thank you for the quick response... On Thu, 22 Feb 2001 17:18:34 +0300, QingLong said: [snip] > > > Would you be so kind as to provide exact commands you have issued? root@fermi:~> queued gvdeynde@fermi:~ > queue -v -i -w -p -h fermi -- hostname 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". root@fermi:~> killall queued root@fermi:~/queue-development > queued --debug --foreground gvdeynde@fermi:~ > queue -v -i -w -p -h fermi -- hostname 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 and the root window gives this for output of queued: SENDMAIL: To 'gvdeynde' from 'queued': Subject: batch queue_b on fermi: now/CFDIR/cfm694234292: Job is starting now. now/CFDIR/cfm694234292: Job is starting now. Concerning your remark on sleeptime: in my version of queued.c this is at line 799 I believe alarm(sleeptime) where I don't set the sleeptime at the command queued, so it should be at the default of 120 s. If I set it manually to 2 s, with no debug options, and I wait for 2 secs before I do the queue command, it works. If I do it before, same error as before root@fermi:~ > queued -t 2 [After 2 seconds waiting] gvdeynde@fermi:~ > queue -v -i -w -p -h fermi -- hostname 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. fermi So in theory, if I would start queued without options I would have to wait 120 seconds before I cannot submit a job. If I do it before that time, I get an error that the queue cannot be served. However, if I put sleeptime manually to 2 seconds, I can start jobs right away (or as good as) but queued wakes up every 2 seconds (I have no idea on the overhead cost of that).... Again, thanks for taking the time to help me out, Gert |