hello,

it's been couple of weeks since I patched, and there is no memory leak
anymore.^^

I've used several tools to detect problems,
example, valgrind http://valgrind.org/, memwatch(
http://www.linkdata.se/sourcecode/memwatch/)
for python test, i used guppy and it told me there was no leak.
but couldn't find ways to to detect. because valgrind couldn't track child
thread, memwatch doesn't understand free statements sometimes.

It was my best way that just checking the candidate source codes line by
line.
specially embeded python and  python c-extension, there might be some
missing in reference counting of object in c code.
please checkout following nice articles that explains the problem.

http://edcjones.tripod.com/refcount.html

hope you have lucky. ;)



2012/4/12 Richard Marshall <richard.marsh...@tagman.com>

> Hi,****
>
> ** **
>
> In this thread it looks like you may have found a memory leak problem in
> collectd python, but I’m not sure. I am seeing a memory leak to in a very
> similar situation (though using the following plugin:
> https://github.com/mleinart/collectd-haproxy . I’m using the Ubuntu
> package collectd-core 4.10.1-2. Are you able to confirm if this is an issue
> you have detected and resolved, and how I may apply that to my systems?***
> *
>
> ** **
>
> Many Thanks****
>
> ** **
>
> Rich****
>
> ** **
>
> ** **
>
> ** **
>
> [image: Description: cid:EBCCB7C5-BE97-454F-95DB-B5CD5BB470CA]****
>
> Richard Marshall, Operations Director****
>
> Address: 170-172 Tower Bridge Road, London SE1 3LS****
>
> Phone:+44 203 465 9259****
>
> Email: *richard.marsh...@tagman.com*****
>
> Skype: richtagman****
>
> ** **
>
> We're currently hiring in London and New York - *
> http://www.tagman.com/index.php/careers.html*****
>
> ** **
>
> ** **
>
> _______________________________________________
> collectd mailing list
> collectd@verplant.org
> http://mailman.verplant.org/listinfo/collectd
>
>


-- 
James.kim(김민석)
010 3266 8040

<<image001.png>>

_______________________________________________
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd

Reply via email to