• 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: Is this a deadlock?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is this a deadlock?


  • Subject: Re: Is this a deadlock?
  • From: Ricardo Parada <email@hidden>
  • Date: Fri, 02 Sep 2016 12:01:39 -0400

Thank you. 

Is there a way to know what thread is holding a lock?

If a thread did some database activity and did not release a lock would it show anywhere?  I noticed this at the end of the stack trace dump: 

EC info:
Currently 0 active ECs : {})No open editing contexts (of 0)OSC info:
0 active ObjectStoreCoordinators : {})No open ObjectStoreCoordinator (of 0)

Would it show here?


_______________________________________________

Sent from my iPhone

On Sep 2, 2016, at 11:22 AM, Jérémy DE ROYER <email@hidden> wrote:

Hello,

For me, the 3 lines below indicates that thread is waiting for another one.

Thread[WorkerThread2,5,main]:
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)

We had some issues this summer (that’s why I asked a lot about database improvment)

Thery were due to a high load of the database (useless fetches) that lead to deadlocks.

We improve the tiggers and the eomodel and now, such dumps are away.

Now, when I report such a dump, I look for the thread wtih the database acces and try to understand why it freezes the others.

Hope it helps,

Jérémy

Le 2 sept. 2016 à 17:06, Ricardo Parada <email@hidden> a écrit :

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: 
 >Is this a deadlock? (From: Ricardo Parada <email@hidden>)
 >Re: Is this a deadlock? (From: Jérémy DE ROYER <email@hidden>)

  • Prev by Date: Re: Is this a deadlock?
  • Next by Date: Re: Is this a deadlock?
  • Previous by thread: Re: Is this a deadlock?
  • Next by thread: Re: Is this a deadlock?
  • Index(es):
    • Date
    • Thread