zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iamct <qdd...@gmail.com>
Subject the maxClientCnxns default is 10?
Date Sat, 16 Jun 2012 15:14:56 GMT
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.

Mime
View raw message