[sheepdog-users] zookeeper followers hungs

Maxim Terletskiy terletskiy at emu.ru
Sat Apr 12 16:02:19 CEST 2014


Hi!

I'm using three nodes zookeeper cluster and have problems with follower 
nodes. They are working normal about  12-24 hours, after that process 
starts to using 100% of one cpu core and stops to responding. Restart 
helps but not for long. Does anyone have similar problem?

There are warnings in logs:
2014-04-11 18:19:57,415 - WARN 
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory at 218] - Ign
oring unexpected runtime exception
java.nio.channels.CancelledKeyException
    at gnu.java.nio.SelectionKeyImpl.readyOps(libgcj.so.10)
    at 
org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:187)
    at java.lang.Thread.run(libgcj.so.10)

Maybe my config is wrong?

tickTime=2000
initLimit=10
syncLimit=5
dataDir=/var/lib/zookeeper/data
clientPort=2181
maxCnxns=0
server.1=node1:2888:3888
server.2=node2:2888:3888
server.3=node3:2888:3888

Zookeeper version is 3.4.5, OS CentOS 6.5 x86_64.



More information about the sheepdog-users mailing list