[Queue-developers] Fwd: [queue - Open Discussion] RE: queued's deadlock 1.20.1
Brought to you by:
wkrebs
From: W. G. K. <wer...@ya...> - 2000-08-05 01:07:11
|
----- Forwarded message from no...@so... ----- Date: Wed, 2 Aug 2000 15:53:05 -0700 From: no...@so... Reply-To: no...@so... Subject: [queue - Open Discussion] RE: queued's deadlock 1.20.1 To: no...@so... Read and respond to this message at: http://sourceforge.net/forum/message.php?msg_idE330 By: wkrebs Around line 3021 in queued.c is there is an #undef TRANSMIT_DEBUG If you comment this line out, or remove it, QueueD will fork off another process whenever it wants to spool a job out to another machine. This should end the deadlock situation. However, one thing the call to wakeup() does is determine if there are any other hosts available in this batch queue to send the job to. If the answer is no, it stops trying for the moment --- 120 seconds or the next submission into the queue. The fork() loses this information, so I'm not sure how it will behave. (This can besolved with some sort IPC; open a pipe probably, but it will add a lot of code that doesn't do a whole lot except determine a return value.) Hopefully, it will fix the deadlock problem, though. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge and visit: http://sourceforge.net/forum/monitor.php?forum_id272 ----- End forwarded message ----- |