[syslog-ng] syslog-ng.ctl socket fd leak in 3.3.3

Jakub Jankowski shasta at toxcorp.com
Wed Jan 11 12:52:02 CET 2012


Hi,

can anyone confirm my observations?

$ lsof -n -p $(cat /var/run/syslog-ng.pid) | grep -c /var/lib/syslog-ng/syslog-ng.ctl
129
$ syslog-ng-ctl stats >/dev/null; echo $?
0
$ lsof -n -p $(cat /var/run/syslog-ng.pid) | grep -c /var/lib/syslog-ng/syslog-ng.ctl
130
$

I'm running a cronjob that dumps stats every minute, so the number of open 
fds is growing linearly, soon reaching configured open files limits.

I'm using self-compiled 3.3.3:
# syslog-ng -V
syslog-ng 3.3.3
Installer-Version: 3.3.3
Revision: ssh+git://bazsi@git.balabit//var/scm/git/syslog-ng/syslog-ng-ose--mainline--3.3#master#d199a1980be6b23fe24189e86a882812288e292c
Compile-Date: Nov 18 2011 00:16:55
Default-Modules: 
affile,afprog,afsocket,afuser,basicfuncs,csvparser,dbparser,syslogformat,afsql
Available-Modules: 
afprog,syslogformat,convertfuncs,afuser,afsocket,afsocket-tls,csvparser,confgen,afsql,afmongodb,dummy,dbparser,affile,basicfuncs
Enable-Debug: off
Enable-GProf: off
Enable-Memtrace: off
Enable-IPv6: on
Enable-Spoof-Source: on
Enable-TCP-Wrapper: on
Enable-Linux-Caps: on
Enable-Pcre: off

Am I the only one seeing this?


Regards,

-- 
Jakub Jankowski|shasta at toxcorp.com|http://toxcorp.com/
GPG: FCBF F03D 9ADB B768 8B92 BB52 0341 9037 A875 942D


More information about the syslog-ng mailing list