This should be in the code now -- check the "shutdownPending" static var in nsd/sched.c. The behavior should be that as soon as shutdown begins, this flag is set an no new sched procs can be created or kicked off. There could be a bug in there.

Of course if a thread-based proc is running or a non-thread based proc is taking a long time, this flag will not be seen as it's at the C level and requires control to return from the users callback.

-Jim



On Jul 18, 2005, at 8:53 PM, Janine Sisk wrote:


Wouldn't it make sense for the scheduler to stop starting up new proc runs once it knows the server is shutting down? It's not like these are long running things; they are starting up very frequently because they only run for a few seconds and then finish. So it wouldn't be a big issue if the ones that were running when the server was shut down were allowed to finish; the problem is that the scheduler is keeping on going, running more of them, seemingly forever.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to