curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Zimmerman <jor...@jordanzimmerman.com>
Subject Re: Noticing a curator memory/thread leak
Date Mon, 31 Mar 2014 21:39:31 GMT
Here’s the old change log, have a look:

	https://cwiki.apache.org/confluence/display/CURATOR/Old+Change+Log

Also, check the Apache release notes:

https://issues.apache.org/jira/browse/CURATOR/?selectedTab=com.atlassian.jira.jira-projects-plugin:versions-panel


From: David Greenberg dsg123456789@gmail.com
Reply: David Greenberg dsg123456789@gmail.com
Date: March 31, 2014 at 4:37:30 PM
To: Jordan Zimmerman jordan@jordanzimmerman.com
Cc: user@curator.apache.org user@curator.apache.org
Subject:  Re: Noticing a curator memory/thread leak  

This is happening with Curator 1.2.3.


On Mon, Mar 31, 2014 at 4:55 PM, Jordan Zimmerman <jordan@jordanzimmerman.com> wrote:
Wow - that’s really hard to say. What version of Curator? I seem to recall some threading
bugs fixed over the years.

-JZ


From: David Greenberg dsg123456789@gmail.com
Reply: user@curator.apache.org user@curator.apache.org
Date: March 31, 2014 at 3:53:48 PM
To: user@curator.apache.org user@curator.apache.org
Subject:  Noticing a curator memory/thread leak

I have been noticing that my application seems to be leaking curator threads and CuratorFrameworkImpls.

These leak at around 10-200 per day.

I create 2 curators in my application--one is from Datomic, and the other is used for a LeaderLatch.
I can see that the LeaderLatch and Datomic instance each retain a single curator reference;
however, I see hundreds of curators that are kept around along with their Executors, which
ends up draining a lot of resources.

I'm using an older version of Curator--was this or is this a problem before? Is it a Curator
bug, or a bug in my code that uses it?

Thank you,
David


Mime
View raw message