[syslog-ng] 3.3.4 anyone else notice a memory leak

Evan Rempel erempel at uvic.ca
Wed Feb 8 06:35:17 CET 2012


I run a number of syslog-ng processes, and I am noticing that the processes that read from
a pipe, and write to a program destination all seem to have a memory leak in them.

The rate of leak seems  to be dependent on the volume of log lines (not surprising).

Has anyone else noticed this.

My config is;




@version: 3.3

#
# UVic syslog-ng configuration

options {
        log_fifo_size(100000);
        use_fqdn(yes);
        keep_hostname(yes);
        chain_hostnames(yes);
        time_reap(60);
        time_reopen(5);
        flush_lines(1000);
        flush_timeout(1000);
};

source local { pipe("/var/log/syslog.pipes/syslogstats" log_iw_size(90000) log_fetch_limit(500) flags(no-parse)); };
source int { internal(); };

destination localsyslog { tcp("localhost" port(1514) localip(localhost) log_fifo_size(50000) template("<$PRI>$S_DATE syslogstats@$HOST syslogstats: $MSGONLY\n") template_escape(no) ); };

destination syslog_stats { program("/home/sysprog/syslog-apps/syslog_stats/syslogstats" template("$MESSAGE\n") template_escape(no) ); };

log { source(local); destination(syslog_stats); flags(flow-control); };
log { source(int); destination(localsyslog); };


More information about the syslog-ng mailing list