[rsyslog-notify] Forum Thread: Re: Rate limiting - (Mode 'reply')

noreply at adiscon.com noreply at adiscon.com
Fri May 8 10:30:36 CEST 2015


User: shivam99aa 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=25541#p25541

Message: 
----------
[quote="dlang":8lnxgwqq]Ok, back in the v5 days, you did want to have the
flag -c5 to tell it that you are using a version 5 config (that's not
needed on current versions)[/quote:8lnxgwqq]
I invoke rsyslog using this way. 
#rsyslog -c5
After this still loosing messages.

[quote="dlang":8lnxgwqq]
I think that impstats was introduced around that time, see if you can
configure it to log the message rate that it's getting.[/quote:8lnxgwqq]
I put impstats in rsyslog.conf and set PStatInterval to 5 seconds. 
This is what i am getting after that
imuxsock: submitted=4227 ratelimit.discarded=631
ratelimit.numratelimiters=46
action 1 queue[DA]: size=0 enqueued=0 full=0 maxqsize=0
main Q: size=3 enqueued=4282 full=0 maxqsize=4
action 1 queue: size=0 enqueued=4280 full=0 maxqsize=4

Please tell if this shed some light on problem. 

[quote="dlang":8lnxgwqq]
receiving messages vi /dev/log (with rate limiting disabled) and sending
them via relp should not loose any messages other than when you restart
rsyslog.[/quote:8lnxgwqq]
This is what is bugging me as according to docs relp never looses messages
but still it is. Also even after setting SystemLogRateLimitInterval to 0
i.e. disabling rate limiting we are losing messages. Please suggest any
possible solutions.


More information about the rsyslog-notify mailing list