On 2012-08-09, at 2:40 PM, Klaus Berkling wrote: > Occasionally I write something useful, for someone - herding sheep on the > grassy, rolling hills of the island. :-)
Goats, man, goats! Sheep..... sheesh! :-P > For the archives: > > The way instances roll-over is when > - the wotaskd daemon tells the instance to stop accepting > connections/sessions, based on a schedule > - the app instance is to quit when it reaches 0 sessions (this is a > configuration, you call tell it to terminate at x number of sessions) > - the auto-recover flag tells wotaskd to start the instance again > > Doing this gracefully allows sessions to be finished by the end users. There > is an option to do this not gracefully, in which case the instances is > unceremoniously terminated. > > Sometimes instances don’t quit on their own. This looks like the image below. > 'Refuse New Sessions' is on, and ‘Auto-Recover' is on, and the instance is > still running. Something is hung - ether a thread or a sessions refuses to > time-out. This is a bug in the app's code. The instance can’t quit on its own. > > The indicators/buttons are yellow because these flags are assumed and > disabled when scheduling is enabled. > > There will be a ‘No Instances Available’ error page if there are no other > instances accepting connections. > > <Screen Shot 2012-08-09 at 1.42.46 PM.png> > > http://www.berkling.us/theothersite/page1/files/wo_instances_restarting.html > > > kib > > "The trouble with normal is it always gets worse." > Bruce Cockburn > > Klaus Berkling > Web Application Dev. & Systems Analyst > DynEd International, Inc. > www.dyned.com > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net > > This email sent to ch...@global-village.net -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/gvc/practical_webobjects _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com