codis icon indicating copy to clipboard operation
codis copied to clipboard

zookeeper 大量连接断开重连 zookeeper.out

Open HorizonWolf opened this issue 11 years ago • 2 comments

启动 dashboard 后 zookeeper日志 zookeeper.out出现大量断开重连: 主要是EndOfStreamException: Unable to read additional data from client sessionid 0x14db838f4d1043d, likely client has closed socket 异常 ,启动 dashboard 的时候,缺少了什么 会使zookeeper出现异常

2015-06-03 15:36:41,466 [myid:] - WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@357] - caught end of stream exception EndOfStreamException: Unable to read additional data from client sessionid 0x14db838f4d1043d, likely client has closed socket at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:228) at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208) at java.lang.Thread.run(Thread.java:745) 2015-06-03 15:36:41,467 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1007] - Closed socket connection for client /127.0.0.1:38306 which had sessionid 0x14db838f4d1043d 2015-06-03 15:37:12,001 [myid:] - INFO [SessionTracker:ZooKeeperServer@347] - Expiring session 0x14db838f4d1043d, timeout of 30000ms exceeded 2015-06-03 15:37:12,002 [myid:] - INFO [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@494] - Processed session termination for sessionid: 0x14db838f4d1043d 2015-06-03 15:40:23,454 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@197] - Accepted socket connection from /127.0.0.1:38340 2015-06-03 15:40:23,455 [myid:] - WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@822] - Connection request from old client /127.0.0.1:38340; will be dropped if server is in r-o mode

HorizonWolf avatar Jun 03 '15 08:06 HorizonWolf

你解决这个问题了吗 ? 我也遇到了 毫无头绪

quyangg avatar Nov 22 '16 10:11 quyangg

什么版本的

spinlock avatar Nov 22 '16 12:11 spinlock