in Uncategorized

How to disable rsyslog Rate-Limiting in ubuntu

Issue

  • The following messages have been reported in /var/log/syslog:
Jul  3 08:50:16 localhost rsyslogd-2177: imuxsock lost 838 messages from pid 4713 due to rate-limiting
Jul  3 08:50:17 localhost rsyslogd-2177: imuxsock begins to drop messages from pid 4713 due to rate-limiting
  • How to disable rsyslog rate-limiting in order to prevent these messages?

Fix

To disable it, add

$SystemLogRateLimitInterval 0
$SystemLogRateLimitBurst 0

to your /etc/rsyslog.conf.

Note: Above fix shall work in RHEL instances also.