On Mon, 14 Dec 2015, Ciprian Hacman wrote:
Hi,
We are noticing some Rsyslog instances that push about 500MB of logs daily
to an Elasticsearch instance, so not that much. We noticed one of the
Rsyslog processes using about 6GB of RAM. Usually this is less than 1MB.
I plan on debugging this in the next few days, but wanted to see also if
there is a good idea to add a RSS limit (doable in Upstart and Systemd) and
kill / restart Rsyslog when it gets into such a situation.
killing/restarting rsyslog is a last resort. large memory usage usually means
that you have lots of logs that aren't delivered and are sitting in a queue
somewhere.
do you have impstats configured? if not, it's a _really_ good idea to configure
it and have it write either directly to a file (log rotation of this file is a
bit of an issue) or to it's own ruleset. either way means that a blockage in
normal log processing will not affect the pstats logs. These logs will show you
if you have queues building up and where.
David Lang
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.