Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » ConcurrencyManager deadlock
ConcurrencyManager deadlock [message #705203] Fri, 29 July 2011 15:05 Go to next message
Pedro Oliveira is currently offline Pedro OliveiraFriend
Messages: 6
Registered: May 2011
Junior Member
Hi all.

I'm developing an application using Eclipselink 2.2.0. In the development environment everything work well. However, in the production environment, after some random time (4 hours, 12 hours, 25 hours, etc) the application stop responding to some operations and only run well after a restart of the application. These operations (reads or writes) are all in the same table. Operations in another tables don't have problems.
In the development environment I already simulate several requests (call some web services of the application which interact with the database) but is not easily reproducible. In my tests, I made 60 requests in parallel and repeat them continuously with a period of 100ms. I made this tests several times and the problem only occurred two times. When occurred, I debug the application and saw that the requests are continuously blocked in the ConcurrencyManager, method releaseDeferredLock (loop continously in the "while (true)"). I suspect that there is a query that, for some reason, request the lock and never release it.
Is there anybody that has the same problem and found a solution or even have an ideia of what is the problem?

Many thanks,
Pedro Oliveira
Re: ConcurrencyManager deadlock [message #708148 is a reply to message #705203] Tue, 02 August 2011 14:06 Go to previous message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

See,

http://wiki.eclipse.org/EclipseLink/FAQ/JPA#How_to_diagnose_and_resolve_hangs_and_deadlocks.3F

I am not aware of any issues on 2.2, if you include the thread dump of the relevant threads in the deadlock. Also perhaps log a bug with the thread dump and as much detail as possible.

Which of the workaround listed in the FAQ resolve the issue would also help narrow down the issue.






James : Wiki : Book : Blog : Twitter
(no subject) [message #708160 is a reply to message #705203] Tue, 02 August 2011 14:06 Go to previous message
James is currently offline JamesFriend
Messages: 272
Registered: July 2009
Senior Member
See,

http://wiki.eclipse.org/EclipseLink/FAQ/JPA#How_to_diagnose_and_resolve_hangs_and_deadlocks.3F

I am not aware of any issues on 2.2, if you include the thread dump of the relevant threads in the deadlock. Also perhaps log a bug with the thread dump and as much detail as possible.

Which of the workaround listed in the FAQ resolve the issue would also help narrow down the issue.





--
James : http://wiki.eclipse.org/EclipseLink : http://en.wikibooks.org/wiki/Java_Persistence : http://java-persistence-performance.blogspot.com/
Previous Topic:Addtional Foreign Kry
Next Topic:Entities with Foreign Key references to phantom tables & entities
Goto Forum:
  


Current Time: Thu Apr 25 21:34:35 GMT 2024

Powered by FUDForum. Page generated in 0.02867 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top