Tuesday 6 December 2016

How to disable rsyslog Rate-Limiting on Red Hat Enterprise Linux


imjournal: begin to drop messages due to rate-limiting

Is above message causing problems to you, no worries here is solution for RHEL7


Follow simple 3 steps to disable rsyslog Rate-Limiting

1. Update following variables in file /etc/systemd/journald.conf with values  shown below


    RateLimitInterval=0s
    RateLimitBurst=0


2. Update file /etc/rsyslog.conf as follows

        # File to store the position in the journal
     $IMJournalStateFile imjournal.state
    $imjournalRatelimitInterval 0


       Mostly you will have first variable set in your file already.


3. Restart rsyslogd
  
       service rsyslog restart