[Reconnoiter-devel] Memory leak in noitd

Theo Schlossnagle jesus at omniti.com
Sun Apr 22 10:44:45 EDT 2012


Are you familiar with valgrind?  If you could, compile with debugging
symbols (-g) and run:

valgrind --log-file=noitd.leaks --leak-check=full ./noitd -D (other args
like -M or -c if you use those)

Let it run for about two minutes, telnet into noitd and run shutdown

valgrind should spit a ton of junk out in noitd.leaks -- that should
pinpoint the problem.

2012/4/22 Michal Taborsky <michal at taborsky.cz>

> After upgrading to the latest code from master, I am experiencing some
> memory leak in noitd. This noit runs about 200 checks per minute with
> various modules and looses about a 500k per minute. It's CentOS 6.2 64bit.
>
> [root at server etc]# date;  ps uax | grep noitd
> Sun Apr 22 13:18:21 CEST 2012
> root     22405  0.0  0.1 146844  1088 ?        S    12:59   0:00
> /usr/local/sbin/noitd -c /usr/local/etc/noit.conf
> root     22406  1.1  3.9 940652 40108 ?        Sl   12:59   0:13
> /usr/local/sbin/noitd -c /usr/local/etc/noit.conf
> [root at server etc]# date;  ps uax | grep noitd
> Sun Apr 22 13:42:30 CEST 2012
> root     22405  0.0  0.1 146844  1088 ?        S    12:59   0:00
> /usr/local/sbin/noitd -c /usr/local/etc/noit.conf
> root     22406  1.1  5.0 951612 51560 ?        Sl   12:59   0:28
> /usr/local/sbin/noitd -c /usr/local/etc/noit.conf
>
> I know this does not help much and I am ready to provide more info if
> requested. For now, I did not have the time to try to disable the checks
> one by one to see which one causes it. I'll do it later, if necessary.
> Right now I am looking for some possible quick fix or advice how to find
> it, if there is any.
>
> --
> Michal Taborsky
> http://www.taborsky.cz
>
>
> _______________________________________________
> Reconnoiter-devel mailing list
> Reconnoiter-devel at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/reconnoiter-devel
>
>


-- 

Theo Schlossnagle

http://omniti.com/is/theo-schlossnagle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.omniti.com/pipermail/reconnoiter-devel/attachments/20120422/e6ee2647/attachment.html>


More information about the Reconnoiter-devel mailing list