I concur with Chuck - this is always a deadlock in my experience -- places to look:

Exceptions in direct actions which access the session ( this is a WO bug which I think has been fixed, but I don't know when/where ).

Passing EO's across thread boundaries ( Check all your background thread processes. Any editing contexts used need to be created within the thread. Don't even try local instance of object in the thread -- pass in an OID and fetch it)

EC locking and unlocking failing -- always unlock in a 'finally' block.

Recursive session access in any application ( i.e. -- a request which makes an http request to same app with the same session will always deadlock. If you have single-threaded app, any request to the same app will deadlock ).

It's also possible to see this in a single threaded app with very slow response times for certain actions, but IME it's usually a deadlock.

Best,

Andrew


On Jul 29, 2008, at 9:38 AM, Chuck Hill wrote:


On Jul 29, 2008, at 5:14 AM, Bob Stuart wrote:

Hi All,
I Know I need to update some of this but it had been running fine for quite a while.

        WebObjects 5.3.3
        OS X 10.4.11
        Java  1.5.0_13-b05-241
        WONDER 3 from a March-03-2007 Daily build
        Frontbase  4.2.7

"All of a sudden" The application is hanging often. No good idea why. Running ~10 instances of the the same code base with different launch params to connect to different client DB's

Many of the instances for will hang. The DB seems fine and we don't see all the instances for any DB fail at once. If no one hits the app they seem to stay fine such as over the weekend. Otherwise they seem to die at least once a day. The more heavily used die more often but the very lightly used die also.

I did a netstat and found many CLOSE_WAIT when the instances were hung but don't know if that is relevant.

My initial guess is that this is just a symptom of the problem.


We did deploy new features recently but no "major"  type changes.

Ideas? Suggestions?

The symptoms sound like deadlock to me. It does not take a major change to cause this. You will need a thread dump to diagnose further. You can find instructions here: http:// www.gvcsitemaker.com/gvc.webobjects/faq&mode=single&recordID=41413


Chuck


--
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/products/practical_webobjects






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects- [EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/andrew% 40site9.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to