Go to this page:
http://zookeeper.apache.org/doc/r3.3.5/zookeeperAdmin.html#sc_configuration and
look for maxClientCnxns.

By default, one IP can only get 10 connections. Set maxClientCnxns to 0 to
remove this limitation.

On Wed, Jun 27, 2012 at 7:35 PM, Aniket Chakrabarti <
[email protected]> wrote:

> Hi,
>
> I am using zookeeper with a multithreaded perl application. Each thread
> sets up 2 connections to 2 zookeeper nodes(node 1 and node 2). Each thread
> copies a different set of keys from node 1 to node 2.
> When I am spawning more than 5 threads(less than 5 is working fine), it
> seems some of the connections are failing intermittently, i.e. the
> zookeeper handle is becoming invalid after serving a few requests.
> Any ideas on what I am doing wrong will be appreciated.
>
> Thanks,
> Aniket
>

Reply via email to