• 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: Zombies and Dead WOAs... Part Two..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Zombies and Dead WOAs... Part Two..


  • Subject: Re: Zombies and Dead WOAs... Part Two..
  • From: "Pierce T. Wetter III" <email@hidden>
  • Date: Fri, 27 Jun 2008 10:03:57 -0700


On Jun 27, 2008, at 6:37 AM, James Cicenia wrote:

Will this detect the "no instance available" message?

It will tend to prevent that message, because deadlocked instances will get killed, so you'll always have instances running. It can't guarantee that you'll have an instance available though, if you only have 2 and one is in "refuse new sessions" and one is deadlocked, you're going to get that message during the hour while the script is confirming that the instance is deadlocked. At that point, you need more instances.


If you're getting that a lot, you might want to set ERXTimeToKill on the command line (assuming you're using Wonder). What that does is set a watchdog timer once refuse new sessions is clicked on, so that no matter what the instance dies after a certain period of time. Otherwise, it's possible to have an instance stuck in refuse new sessions because it thinks a session is active that isn't.

Other ways to prevent this are turning on multithreading in your app, but that's not always easy to do if you haven't started out that way.

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


References: 
 >Zombies and Dead WOAs... Part Two.. (From: John Lennard <email@hidden>)
 >Re: Zombies and Dead WOAs... Part Two.. (From: Ian Coleman <email@hidden>)
 >Re: Zombies and Dead WOAs... Part Two.. (From: "Pierce T. Wetter III" <email@hidden>)
 >Re: Zombies and Dead WOAs... Part Two.. (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Class cast exception thrown in in EODistributionContext
  • Next by Date: WO-GWT Adapter
  • Previous by thread: Re: Zombies and Dead WOAs... Part Two..
  • Next by thread: WebObjects - Project Wonder
  • Index(es):
    • Date
    • Thread