Server hang with deadlock in Event Writer thread
Posted: 17 Aug 2007, 18:51
We are getting server crashes every 1-2 days. Using the jstack tool I was able to get the following deadlock report from the jvm:
Deadlock Detection:
Found one Java-level deadlock:
=============================
"Timer-1":
waiting to lock Monitor@0x00002aac54b5fbf8 (Object@0x00002aab14f448a0, a java/
util/LinkedList),
which is held by "EventWriter-14"
"EventWriter-14":
waiting to lock Monitor@0x00002aac54b629e8 (Object@0x00002aaad26bf1a0, a java/
util/LinkedList),
which is held by "Timer-1"
Found a total of 1 deadlock.
Looks like a classic case of deadlock - thread 1 has object A and wants object B, and thread 2 has B and is waiting for A.
This happens under 1.5.5 with the 1.5.8c jysfs.jar patch. We are using actionscript room and zone extensions.
If there's any other information I could provide to help you debug this, please let me know. If you have any ideas for a workaround we'd love to hear them.
Thanks
Deadlock Detection:
Found one Java-level deadlock:
=============================
"Timer-1":
waiting to lock Monitor@0x00002aac54b5fbf8 (Object@0x00002aab14f448a0, a java/
util/LinkedList),
which is held by "EventWriter-14"
"EventWriter-14":
waiting to lock Monitor@0x00002aac54b629e8 (Object@0x00002aaad26bf1a0, a java/
util/LinkedList),
which is held by "Timer-1"
Found a total of 1 deadlock.
Looks like a classic case of deadlock - thread 1 has object A and wants object B, and thread 2 has B and is waiting for A.
This happens under 1.5.5 with the 1.5.8c jysfs.jar patch. We are using actionscript room and zone extensions.
If there's any other information I could provide to help you debug this, please let me know. If you have any ideas for a workaround we'd love to hear them.
Thanks