Are you properly reusing your ZooKeeper clients? You should (probably)
create one client and share it throughout your process to send requests to
the server, not create a new client per usage. Seems like you're not
creating and reusing clients appropriately.
C
On Wed, Oct 3, 2012 at 2:21 PM, Reyn
I am trying to debug a problem in which when I run jstack, I see a very
large number of zookeeper threads, and as the program continues running,
more threads like the following are created. I suspect somewhere in the
program it is not releasing some resource properly, but I am not sure where
it is.