According to wiki http://wiki.apache.org/hadoop/ZooKeeper/Troubleshooting ping should be 1/3 timeout
Ping interval should be 1/3 of session timeout not recv timeout.
Add some jitter to ZK host selection
Merge pull request #4 from domwong/tighterping

Fix the ping - should be set to 1/3 of the session timeout. Also add jitter to host selection