Re: Too many connections

2010-10-06 Thread Patrick Hunt
On Tue, Oct 5, 2010 at 10:23 AM, Avinash Lakshman < avinash.laksh...@gmail.com> wrote: > So shouldn't all servers in another DC just have one session? So even if I > have 50 observers in another DC that should be 50 sessions established > since > the IP doesn't change correct? Am I missing somethi

Re: Too many connections

2010-10-05 Thread Avinash Lakshman
So shouldn't all servers in another DC just have one session? So even if I have 50 observers in another DC that should be 50 sessions established since the IP doesn't change correct? Am I missing something? In some ZK clients I see the following exception even though they are in the same DC. WARN

Re: Too many connections

2010-10-05 Thread Patrick Hunt
"A" (/10.30.84.207 a zookeeper client) is attempting to establish more then 10 sessions to the ZooKeeper server where you got the log. This can be caused by a bug in user code (we've seen bugs where incorrectly implemented ZK clients attempt to create an infinite number of sessions, which essential

Re: Too many connections

2010-10-05 Thread Avinash Lakshman
Thanks Patrick. But what does this mean? I see the log on server A telling me "Too many connections from A - default is 10". Too many connection from A to whom? I do not see who the other end of the connection is. Cheers Avinash On Tue, Oct 5, 2010 at 9:27 AM, Patrick Hunt wrote: > See this con

Re: Too many connections

2010-10-05 Thread Patrick Hunt
See this configuration param in the docs "maxClientCnxns": http://hadoop.apache.org/zookeeper/docs/current/zookeeperAdmin.html#sc_advancedConfiguration Patrick On Tue, Oct 5, 2010 at 8:10 AM, Avinash La