• 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
Deadlock when a session timeout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Deadlock when a session timeout


  • Subject: Deadlock when a session timeout
  • From: Daniel Muller <email@hidden>
  • Date: Mon, 29 Aug 2005 06:28:10 -0700 (PDT)

Hi,

Is there any known deadlock when a session timeout, particularly with
the shared editing context?

One of my application does some cleaning when the session timeout, and
a deadlock occurs rarely (not more than 3x during 12 months). The Java
threads dump shows a wait call related to the shared editing context
(last EOF calls are: NSRecursiveLock.lock, and
EOSharedEditingContext.lock for the other thread) but the EC created
when session is terminating has not shared EC (explicit call to
setSharedEditingContext(null)).

I try the same application without the cleaning code, it works well for
more than 2 months. I also checked the code using the shared EC to
ensure it uses only methods of EOSharedEditingContext class and not
explicit calls to EOF, like fetching object with normal API.

Regards,
Daniel



____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs

 _______________________________________________
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: Deadlock when a session timeout
      • From: Chuck Hill <email@hidden>
    • AW: Deadlock when a session timeout
      • From: Helge Staedtler <email@hidden>
  • Prev by Date: Re: question about WO5.3 on Linux
  • Next by Date: PostgreSQL performance through Plugin/JDBC
  • Previous by thread: Re: question about WO5.3 on Linux
  • Next by thread: AW: Deadlock when a session timeout
  • Index(es):
    • Date
    • Thread