FYI: Based on a forum thread, I just created this page:

http://wiki.rsyslog.com/index.php/Reducing_memory_usage

I think it actually describes the source of the 8MB memory blocks.

Rainer

> -----Original Message-----
> From: [email protected] [mailto:rsyslog-
> [email protected]] On Behalf Of Michael Biebl
> Sent: Saturday, January 17, 2009 11:11 AM
> To: rsyslog-users
> Subject: [rsyslog] Is rsyslog leaking memory?
> 
> Hi,
> 
> I'm running rsyslog 3.20.2
> 
> I noticed the following:
> # /etc/init.d/rsyslog restart
> VSZ    RSS (as reported by ps)
> 27100 1184
> # logger foo
> 27100 1196
> # logger foo (1000x)
> 27100 1200
> # logger foo (1000x)
> 27100 1204
> # logger foo (1000x)
> 27100 1208
> 
> and so on.
> 
> 
> This made me wonder, if rsyslog is leaking memory somewhere.
> 
> I also noticed, that for each loaded module, rsyslog resevers exactly
> 8 Mb of anoymous memory (pmap -d `pgrep rsyslog`)
> With a couple of loaded modules you easily get over 50Mb VSZ.
> 
> 
> Michael
> --
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to