zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gunnar Wagenknecht <gun...@wagenknecht.org>
Subject Re: ZooKeeper Clients waiting forever (hanging threads)
Date Tue, 21 Jun 2011 07:32:04 GMT
Am 21.06.2011 09:14, schrieb Gunnar Wagenknecht:
> I was wondering if this may have caused any race condition in the ZK client?

Oddly enough, the OOM might have killed the SendThread, i.e. in the JVM
thread dump there is no SendThread any more. Just the EventThread.

"ZooKeeper Gate Connect Thread-EventThread" daemon prio=10
tid=0x000000005a37d800 nid=0x4e03 waiting on condition [0x000000004357f000]
java.lang.Thread.State: WAITING (parking)
 at sun.misc.Unsafe.park(Native Method)
 - parking to wait for  <0x00002aaab158f1d8> (a
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
 at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
 at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1987)
 at
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)
 at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:502)

-Gunnar


-- 
Gunnar Wagenknecht
gunnar@wagenknecht.org
http://wagenknecht.org/


Mime
View raw message