syslog-ng memory leak #394

GoogleCodeExporter opened this Issue Mar 24, 2015 · 5 comments


None yet
1 participant
SecurityOnion uses syslog-ng version 3.3.4.dfsg-2ubuntu1 that has a known 
memory leak.

What steps will reproduce the problem?
1. let SecurityOnion run for a while
(2. run Bro and ELSA)
3. syslog-ng's memory usage will increase indefinitely

What is the expected output? What do you see instead?

expected: syslog-ng's memory usage shouldn't increase indefinitely

Are you using the new Security Onion 12.04?

Version 12.04.3

Did you install from the ISO image or did you install your own version of 
Ubuntu and then add our PPA and packages?

Install from ISO image.


syslog-ng 3.3.4.dfsg-2ubuntu1 is shipped with Ubuntu 12.04. It has a known 
memory leak, and it won't be patched in ubuntu 12.04

Upgrading syslog-ng to 3.3.11 fixes the issue. I used the packages from, and also installed the libivykis 
dependency from there.

(Ubuntu Saucy includes syslog-ng 3.3.9 and ivykis 0.36.2. It seems those 
packages can be backported to 12.04 without many issues. I did not confirm 
3.3.9 fixes the issue)

Original issue reported on by on 20 Sep 2013 at 4:20

Please see this discussion on our mailing list:

During the course of discussion, I noticed that one of the memory leaks is due 
to "reload".  Would it help if we changed our daily "reload" to a "restart"?

Original comment by on 20 Sep 2013 at 4:25

  • Added labels: ****
  • Removed labels: ****
It would do as a work-around.

FYI I'm running with a backported syslog-ng 3.3.9 from Ubuntu 13.10 now for a 
couple of days and it seems to work fine.

Original comment by on 23 Sep 2013 at 6:27

  • Added labels: ****
  • Removed labels: ****
aaron gee-clough reports that changing "reload" to "restart" worked for him.  
Will push this change in the next update of the NSM scripts.

Original comment by on 23 Sep 2013 at 7:05

  • Changed state: Accepted
  • Added labels: ****
  • Removed labels: ****

Can confirm the "restart" also works for me.

Original comment by on 24 Sep 2013 at 6:15

  • Added labels: ****
  • Removed labels: ****
Tested by JP Bourget and David Zawdie.


Original comment by on 10 Oct 2013 at 12:05

  • Changed state: Verified
  • Added labels: ****
  • Removed labels: ****
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment