Hello I'm a french user of Rsyslog sorry for my bad english. I use rsyslog 5.6.3 with SSL on a network of 10 machines. On client machines rsyslogd process behaves normally. On the server (Gentoo, 2GB RAM) I noticed a memory leak. In two hours, the process rsyslog increases from 0 to 20% memory usage. I tried to pass the STACK_SIZE of 8192 to 4096 and the phenomenon of memory leak is even more important.
My config : $ModLoad imuxsock $ModLoad imklog $ModLoad immark $KLogPath /proc/kmsg $ModLoad imtcp $InputTCPMaxSessions 4000 $DefaultNetstreamDriver gtls $DefaultNetstreamDriverCAFile /etc/ssl/rsyslog/xxx.crt $DefaultNetstreamDriverCertFile /etc/ssl/rsyslog/xxx.crt $DefaultNetstreamDriverKeyFile /etc/ssl/rsyslog/xxx.pem $InputTCPServerStreamDriverMode 1 $InputTCPServerStreamDriverAuthMode x509/name $InputTCPServerStreamDriverPermittedPeer *.xxx.xxx $InputTCPServerRun 10514 $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat $template TraditionalFileFormatWithFacility,"%TIMESTAMP% %syslogfacility-text% %HOSTNAME% %syslogtag%%msg:::sp-if-no-1st-sp%%msg:::drop-last-lf%\n" $FileOwner syslog $FileGroup adm $FileCreateMode 0640 $DirCreateMode 0755 $Umask 0022 $PrivDropToUser syslog $PrivDropToGroup syslog $ModLoad ommail $ActionMailSMTPServer xxx.xxx.com $ActionMailFrom xxxx@xxxx $ActionMailTo x...@xxxx.xxx $template TraditionalFormatWithPRI,"%PRI-text%: %syslogseverity-text%: %timegenerated% %HOSTNAME% %syslogtag%%msg:::drop-last-lf%\n" $template TraditionalFormatForTomcat,"%msg:::drop-last-lf\n%" $IncludeConfig /etc/rsyslog.d/*.conf _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com