Comment 0 for bug 1369042

Revision history for this message
Chirag Bhalgami (chirag-bhalgami) wrote :

ZooKeeper log (Actual IP address has been replaced with <ip_address>):
-----
1:46:30.809 AM INFO org.apache.zookeeper.server.NIOServerCnxnFactory
Accepted socket connection from /<ip_address>:42030
1:46:30.809 AM INFO org.apache.zookeeper.server.ZooKeeperServer
Client attempting to establish new session at /<ip_address>:42030
1:46:30.826 AM INFO org.apache.zookeeper.server.ZooKeeperServer
Established session 0x1486b5eb8b4056f with negotiated timeout 30000 for client /<ip_address>:42030
1:46:30.837 AM WARN org.apache.zookeeper.server.NIOServerCnxnFactory
Too many connections from /<ip_address> - max is 60
1:46:32.290 AM WARN org.apache.zookeeper.server.NIOServerCnxnFactory
Too many connections from /<ip_address> - max is 60
1:46:33.766 AM WARN org.apache.zookeeper.server.NIOServerCnxnFactory
Too many connections from /<ip_address> - max is 60
1:46:35.732 AM WARN org.apache.zookeeper.server.NIOServerCnxnFactory
Too many connections from /<ip_address> - max is 60
1:46:37.612 AM WARN org.apache.zookeeper.server.NIOServerCnxnFactory
Too many connections from /<ip_address> - max is 60
1:46:39.601 AM WARN org.apache.zookeeper.server.NIOServerCnxnFactory
Too many connections from /<ip_address> - max is 60
1:46:41.198 AM WARN org.apache.zookeeper.server.NIOServerCnxnFactory
Too many connections from /<ip_address> - max is 60
1:46:41.309 AM INFO org.apache.zookeeper.server.PrepRequestProcessor
Processed session termination for sessionid: 0x1486b5eb8b4056f
1:46:41.317 AM INFO org.apache.zookeeper.server.NIOServerCnxn
Closed socket connection for client /<ip_address>:42030 which had sessionid 0x1486b5eb8b4056f
-----

Less # of MXOSRVRs does not break ZooKeeper:

Step 1:
more /opt/trafodion/trafodion/dcs-0.9.0/conf/servers
n007 65

Step 2:
/opt/trafodion/trafodion/dcs-0.9.0/bin/stop-dcs.sh
stopping master.
n007: no server to stop because kill -0 of pid 18464 failed with status 1

Step 3:
vi /opt/trafodion/trafodion/dcs-0.9.0/conf/servers
<update with less # of MXOSRVRs>
more /opt/trafodion/trafodion/dcs-0.9.0/conf/servers
n007 32

Step 4:
/opt/trafodion/trafodion/dcs-0.9.0/bin/start-dcs.sh

Additional information:
------------------------------------

>> ulimit -u
100000

>> /usr/sbin/sshd -T | grep -i max
maxauthtries 6
maxsessions 100
clientalivecountmax 3
maxstartups 200:30:200