• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Instances restarting on a schedule - or not
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Instances restarting on a schedule - or not


  • Subject: Re: Instances restarting on a schedule - or not
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 09 Aug 2012 15:35:55 -0700

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      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

--
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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Instances restarting on a schedule - or not
      • From: Klaus Berkling <email@hidden>
  • Prev by Date: Re: plist path
  • Next by Date: Re: Instances restarting on a schedule - or not
  • Previous by thread: Re: Problem getting D2W rule firing log
  • Next by thread: Re: Instances restarting on a schedule - or not
  • Index(es):
    • Date
    • Thread