Ok, sorry for the break - I had to go off and work on something else, but I'm back now.

To recap: I have a site that has a lot of scheduled procs that run frequently, so there is one going off every few seconds. Under AOLserver 4.0.1, I had no problems restarting this site, but under 4.0.10 it stops accepting connections but keeps on running the scheduled procs.

From the error logs:

4.0.1:

[08/Jul/2005:20:00:57][30673.3073912960][-main-] Notice: nsmain: AOLserver/4.0 stopping [08/Jul/2005:20:00:57][30673.3073912960][-main-] Notice: serv: stopping server: live-gmt [08/Jul/2005:20:00:57][30673.3073912960][-main-] Notice: serv: connection threads stopped [08/Jul/2005:20:00:57][30673.3073912960][-main-] Notice: driver: shutdown complete [08/Jul/2005:20:00:57][30673.3073912960][-main-] Notice: sched: shutdown pending [08/Jul/2005:20:00:57][30673.3063348144][-sched-] Notice: sched: shutdown started [08/Jul/2005:20:00:57][30673.3063348144][-sched-] Notice: sched: waiting for event threads...
[08/Jul/2005:20:00:57][30673.3045063600][-sched:idle1-] Notice: exiting
[08/Jul/2005:20:00:57][30673.3050306480][-sched:idle2-] Notice: exiting
[08/Jul/2005:20:00:57][30673.3048209328][-sched:idle0-] Notice: exiting
[08/Jul/2005:20:00:59][30673.3063348144][-sched-] Notice: sched: shutdown complete [08/Jul/2005:20:00:59][30673.3063348144][-shutdown-] Notice: nslog: closing '/export/logs/live/live-gmt.log' [08/Jul/2005:20:00:59][30673.3073912960][-main-] Notice: nsmain: AOLserver/4.0 exiting

4.0.10:

[18/Jul/2005:16:35:50][11681.3086617504][-main-] Notice: nsmain: AOLserver/4.0.10 stopping [18/Jul/2005:16:35:50][11681.3086617504][-main-] Notice: driver: triggering shutdown [18/Jul/2005:16:35:50][11681.3086617504][-main-] Notice: serv: stopping server: live-gmt [18/Jul/2005:16:35:51][11681.3086617504][-main-] Notice: serv: connection threads stopped

and then it goes on allowing new scheduled procs to start up and run, so it never goes any further with it's shutdown. It appears it will stay in this state forever, though I've never left it longer than about 5 minutes.

When we discussed this before Dossy suggested modifying background threads to detect that the server is shutting down. That's not the problem, though; as far as I know we don't have any particularly long-running processes. The problem is that the scheduler is letting new ones start up.

Any suggestions on how to debug/fix this?

thanks,

janine


--
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