[syslog-ng] Do stats cause memory leak

Evan Rempel erempel at uvic.ca
Wed May 31 02:28:24 UTC 2017


We are running git head download post 3.9.1 and the memory footprint 
seems to continually grow.

Looking at the statistics for queued messages I found none, but 
discovered that we have nearly 22,000
statistic sets for a total of 68195 tracked statistics.
% /usr/local/sbin/syslog-ng-ctl stats | wc -l
68195

It it possible that all of these statistics take up a non-trivial amount 
of RAM?

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root      1489 79.2 61.5 12134140 10139760 ?   Ssl  Apr24 41581:22 
/usr/local/sbin/syslog-ng

That is a 12GB footprint after 1 month of uptime.

Evan.


More information about the syslog-ng mailing list