zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Nickerson <davidnickerson4mailingli...@gmail.com>
Subject Re: problem with zookeeper perl interface
Date Thu, 28 Jun 2012 01:55:48 GMT
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 <
chakraba@cse.ohio-state.edu> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message