You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by iamct <qd...@gmail.com> on 2012/06/16 17:14:56 UTC

the maxClientCnxns default is 10?

http://zookeeper.apache.org/doc/current/zookeeperAdmin.html


maxClientCnxns

    (No Java system property)

    Limits the number of concurrent connections (at the socket level) that a
single client, identified by IP address, may make to a single member of the
ZooKeeper ensemble. This is used to prevent certain classes of DoS attacks,
including file descriptor exhaustion. The default is 10. Setting this to 0
entirely removes the limit on concurrent connections.


but i find the code said “60”

  protected int maxClientCnxns = 60;

--
View this message in context: http://zookeeper-user.578899.n2.nabble.com/the-maxClientCnxns-default-is-10-tp7577586.html
Sent from the zookeeper-user mailing list archive at Nabble.com.

Re: the maxClientCnxns default is 10?

Posted by Patrick Hunt <ph...@apache.org>.
Seems the "current" doc link is pointing to 3.3, rather than 3.4 docs
(look at the tab at the top), if you go to 3.4 directly the content
reflects correctly:

http://zookeeper.apache.org/doc/r3.4.3/zookeeperAdmin.html

We should fix that in 3.4.4. release.

Patrick

On Sat, Jun 16, 2012 at 8:14 AM, iamct <qd...@gmail.com> wrote:
> http://zookeeper.apache.org/doc/current/zookeeperAdmin.html
>
>
> maxClientCnxns
>
>    (No Java system property)
>
>    Limits the number of concurrent connections (at the socket level) that a
> single client, identified by IP address, may make to a single member of the
> ZooKeeper ensemble. This is used to prevent certain classes of DoS attacks,
> including file descriptor exhaustion. The default is 10. Setting this to 0
> entirely removes the limit on concurrent connections.
>
>
> but i find the code said “60”
>
>  protected int maxClientCnxns = 60;
>
> --
> View this message in context: http://zookeeper-user.578899.n2.nabble.com/the-maxClientCnxns-default-is-10-tp7577586.html
> Sent from the zookeeper-user mailing list archive at Nabble.com.