codis icon indicating copy to clipboard operation
codis copied to clipboard

zookeeper大量断开与重新连接

Open Phoebus888 opened this issue 5 years ago • 2 comments

2020-04-26 14:44:52,000 [myid:2] - INFO [SessionTracker:ZooKeeperServer@355] - Expiring session 0x1713492ff670018, timeout of 30000ms exceeded 2020-04-26 14:44:52,001 [myid:2] - INFO [ProcessThread(sid:2 cport:-1)::PrepRequestProcessor@489] - Processed session termination for sessionid: 0x1713492ff670018 2020-04-26 14:45:43,630 [myid:2] - 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 0x2713492ff710019, likely client has closed socket at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:230) at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203) at java.lang.Thread.run(Thread.java:745) 2020-04-26 14:45:43,631 [myid:2] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1008] - Closed socket connection for client /10.158.1.123:43774 which had sessionid 0x2713492ff710019 2020-04-26 14:46:04,000 [myid:2] - INFO [SessionTracker:ZooKeeperServer@355] - Expiring session 0x2713492ff710019, timeout of 30000ms exceeded 2020-04-26 14:46:04,001 [myid:2] - INFO [ProcessThread(sid:2 cport:-1)::PrepRequestProcessor@489] - Processed session termination for sessionid: 0x2713492ff710019 2020-04-26 14:46:06,882 [myid:2] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /10.158.1.123:57874 2020-04-26 14:46:06,889 [myid:2] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@900] - Client attempting to establish new session at /10.158.1.123:57874 2020-04-26 14:46:06,893 [myid:2] - INFO [CommitProcessor:2:ZooKeeperServer@645] - Established session 0x2713492ff71001a with negotiated timeout 30000 for client /10.158.1.123:57874

Phoebus888 avatar Apr 26 '20 08:04 Phoebus888

线上是用jodis连接,一出现这个错误就会导致线上jodis连接假死,直接不能用了

Phoebus888 avatar Apr 26 '20 08:04 Phoebus888

proxy没有任何异常,这个是否是jodis连接时的问题吗?有没有大佬能给我解答一下吗

Phoebus888 avatar Apr 26 '20 08:04 Phoebus888