[Zookeeper-user] Session timeout

2008-06-17 Thread Avinash Lakshman
How do prevent my session from timing out? I get this exception: Priming connection to java.nio.channels.SocketChannel[connected local=/ 10.16.138.101:8352 remote=fool.xyz.com/10.18.39.211:5001] WARN - Closing: java.io.IOException: Session Expired at

Re: [Zookeeper-user] Session timeout

2008-06-17 Thread Benjamin Reed
The client library is in charge of preventing expirations, if it happens it is probably because of dead servers or network problems that caused a spike in latency. Increasing your session timeout helps prevent this. If/when it happens, you need create another ZooKeeper object to reconnect to