2016-10-31 1:34 GMT+01:00 matthew.gaetano <[email protected]>: > rsyslog.log > <http://rsyslog-users.1305293.n2.nabble.com/file/n7591411/rsyslog.log> > > OK so i think i did this correctly. Ran the command: valgrind > --tool=memcheck --leak-check=full --show-leak-kinds=all /usr/sbin/rsyslogd >> rsyslog.log 2>&1
Thanks, this is useful, but unfortunatley it does not show any actual memory leak. I guess this is due to daemonizing got into its way. Could you try this please: valgrind /usr/sbin/rsyslogd -n >rsyslog.log 2>&1 I intentionally removed the valgrind options, as the defaults should usually point directly to a big leak. But the important difference is the addition of the "-n" option to rsyslogd, which prevents auto-backgrounding (daemonizing). If you start it that way, the console window will be blocked. To unblock it, you need to terminate rsyslog, which you can also do by typing ctrl-c.It would be great if you could let it run for a while (maybe half an hour is also sufficient). Thanks, Rainer > > Left it for about an hour or so, then killed the process. Attached is the > output. > > ~Regards > > Matthew Gaetano > > > > -- > View this message in context: > http://rsyslog-users.1305293.n2.nabble.com/Liblognorm-User-Defined-Types-Memory-Leak-tp7591408p7591411.html > Sent from the rsyslog-users mailing list archive at Nabble.com. > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ > What's up with rsyslog? Follow https://twitter.com/rgerhards > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of > sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T > LIKE THAT. _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

