-
Notifications
You must be signed in to change notification settings - Fork 813
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak found on memcache-enabled agents #278
Comments
How many memcache instances is the check connecting to? |
snippet of ddog agent config each memcached launched with |
Apparently the closure used in parsing the memcache config is leaving behind some uncollectable objects on each run. Replaced it with a while loop.
Apparently the closure used in parsing the memcache config is leaving behind some uncollectable objects on each run. Replaced it with a while loop.
Instantiating a memcache.Client object will create a memcache._Host object that stores the debuglog method of the Client object. That _Host object gets stored in the original Client object, presumably causing that memory to get lost in time and space forever. The workaround is to set Client.debuglog to None so that _Host won't try to store anything, avoiding the cyclic reference. (#278)
Fixed in 3.4.3 |
Nice one! On Wed, Jan 2, 2013 at 10:56 AM, Carlo Cabanilla
|
500MB of anon space used by the collector: https://gist.github.com/f7973df8c680ed3776d8
The text was updated successfully, but these errors were encountered: