'Zookeeper repeated connections

Recently I met a connection issue on zookeeper.

It repeatedly connect-> lost connection - reconnect -lost connection

The servers are in the inner network and via nagios I can see the host status is good.

Have someone met this before and could give some advice/clues please?

Logs shown in the graph. enter image description here

Some key logs here :

22/02/09 20:44:06 INFO zookeeper.ClientCnxn: Socket connection established to 192.168.123.2/192.168.123.2:2181, initiating session

22/02/09 20:44:06 INFO state.ConnectionStateManager: State change: LOST

22/02/09 20:44:06 INFO zookeeper.ClientCnxn: Unable to reconnect to ZooKeeper service

22/02/09 20:45:24 INFO zookeeper.ClientCnxn: Socket connection established to 192.168.123.2/192.168.123.2:2181, initiating session

22/02/09 20:45:45 INFO zookeeper.ClientCnxn: Session establishment complete on server 192.168.123.2/192.168.123.2:2181, sessionid = 0x103b6ea3dc702d3, negotiated timeout = 40000

22/02/09 20:46:16 INFO state.ConnectionStateManager: State change: RECONNECTED



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source