Are you sure you're closing the ZooKeeper object before creating a new one?

I see names like:

this most likely means you are creating ZK sessions in your watcher. This is fine, but you just need to make sure you close the old one. Perhaps some corner case in your code got triggered and it started creating ZK sessions recursively w/o bound?

By default the server will only allow 10 sessions to be active from a particular client (ip), perhaps you hit this and it triggered the storm?


On 04/27/2010 03:52 PM, Satish Bhatti wrote:
One of our processes that uses ZooKeeper was behaving oddly so I ran a
jstack on it.  It is attached to this email.  Note the "EventThread"
lines.  Over 6000 of them.  Has it _really_ spun up 6000 event threads?


Reply via email to