[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=/ remote=fool.xyz.com/] 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