You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by tobe <to...@gmail.com> on 2014/09/16 04:56:06 UTC

Should maxClientCnxns limit connections peer ip or per process

Recently I learned more about maxClientCnxns configuration and read the
read the code of implement. I know now it's the limitation of the number of
connection from the same ip.

But actually we run multiple process in the same server. And if one process
excesses the limitation of maxClientCnxns, all the ZooKeeper clients will
fail to connect with ZooKeeper cluster. Can we fix that to make this
limitation for each process?

Any suggestion is welcome.

Re: Should maxClientCnxns limit connections peer ip or per process

Posted by tobe <to...@gmail.com>.
Thank @flavio and I create
https://issues.apache.org/jira/browse/ZOOKEEPER-2041.

I would like to know more about your suggestions and the original design of
maxClientCnxns before working on it :-)

On Tue, Sep 16, 2014 at 9:39 PM, Flavio Junqueira <
fpjunqueira@yahoo.com.invalid> wrote:

> Hi there,
>
> If you want to have a discussion around this, I suggest you create a jira.
> If you can propose a patch even better.
>
> -Flavio
>
>
> On Tuesday, September 16, 2014 3:56 AM, tobe <to...@gmail.com>
> wrote:
>
>
> >
> >
> >Recently I learned more about maxClientCnxns configuration and read the
> >read the code of implement. I know now it's the limitation of the number
> of
> >connection from the same ip.
> >
> >But actually we run multiple process in the same server. And if one
> process
> >excesses the limitation of maxClientCnxns, all the ZooKeeper clients will
> >fail to connect with ZooKeeper cluster. Can we fix that to make this
> >limitation for each process?
> >
> >Any suggestion is welcome.
> >
> >
> >
>

Re: Should maxClientCnxns limit connections peer ip or per process

Posted by Flavio Junqueira <fp...@yahoo.com.INVALID>.
Hi there,

If you want to have a discussion around this, I suggest you create a jira. If you can propose a patch even better.

-Flavio


On Tuesday, September 16, 2014 3:56 AM, tobe <to...@gmail.com> wrote:
 

>
>
>Recently I learned more about maxClientCnxns configuration and read the
>read the code of implement. I know now it's the limitation of the number of
>connection from the same ip.
>
>But actually we run multiple process in the same server. And if one process
>excesses the limitation of maxClientCnxns, all the ZooKeeper clients will
>fail to connect with ZooKeeper cluster. Can we fix that to make this
>limitation for each process?
>
>Any suggestion is welcome.
>
>
>