• 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: Deadlocks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deadlocks


  • Subject: Re: Deadlocks
  • From: Steven Mark McCraw <email@hidden>
  • Date: Wed, 5 Sep 2007 19:12:51 -0400

You are probably safe for general EC usage there, but you can still do other bad things and end up deadlocked.

There are many great things in the "win" column for WebObjects, but I believe one of the definite negatives of the technology is how ridiculously easy it is to deadlock a webobjects application. You have to take the bad with the good. This is miserably scary and nasty until you learn to dump the thread stack traces (see the URL Guido posted earlier: http://tinyurl.com/3bpkkv. Learning the tricks shown here cost me a week of sleep once, but now it's beautifully documented, so profit from the work people have done to write up these instructions). Once you have the stack traces in hand, it becomes pretty obvious where the problem is and you can fix it. Look for the thread which isn't stuck in a wait queue or sleeping while waiting for requests.


Mark
_______________________________________________
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: Deadlocks
      • From: Chuck Hill <email@hidden>
References: 
 >Deadlocks (From: Simon McLean <email@hidden>)
 >Re: Deadlocks (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Deadlocks
  • Next by Date: Re: Deadlocks
  • Previous by thread: Re: Deadlocks
  • Next by thread: Re: Deadlocks
  • Index(es):
    • Date
    • Thread