[syslog-ng] [Bug 160] New: memory leak in message buffering

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Mon Feb 13 19:12:40 CET 2012


https://bugzilla.balabit.com/show_bug.cgi?id=160

           Summary: memory leak in message buffering
           Product: syslog-ng
           Version: 3.3.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: unspecified
         Component: syslog-ng
        AssignedTo: bazsi at balabit.hu
        ReportedBy: erempel at uvic.ca
Type of the Report: ---
   Estimated Hours: 0.0


Created an attachment (id=47)
 --> (https://bugzilla.balabit.com/attachment.cgi?id=47)
tunable read rate program destination

When writing to a destination that requires syslog-ng to buffer messages, the memory footprint of syslog-ng grows endlessly, even when there is sufficient time
to flush the buffers.

I am including a read rate tunable perl program destination that I use to slow the destination down.

I am including a syslog-ng.conf file

I am including the output of valgrind.

I run syslog-ng, cat a /var/messages file (100,000 lines) to the input pipe.


valgrind now shows

definitely lost: 2,620,649 bytes in 4,439 blocks


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list