-->
  • Recent Articles

    rsyslog is not logging in RHEL 7

    Error:
    rsyslog is not logging in RHEL 7.


    rsyslogd-2177: imjournal: begin to drop messages due to rate-limiting

    Solution:  

    Temporary:
    [root@example yum.repos.d]# service rsyslog stop --> Stop rsyslog service
    Redirecting to /bin/systemctl stop  rsyslog.service

    [root@example yum.repos.d]# ll /var/lib/rsyslog/*
    -rw------- 1 root root 127 Apr 22 19:46 /var/lib/rsyslog/imjournal.state

    [root@example yum.repos.d]# rm -f /var/lib/rsyslog/imjournal.state --> Remove the journal state file
    [root@example yum.repos.d]#


    [root@example yum.repos.d]# service rsyslog start --> Start the Service Again
    Redirecting to /bin/systemctl start  rsyslog.service





    Permanent Solution:


    Edit the /etc/rsyslog.conf file, increase the Limit.

    # File to store the position in the journal
    $IMJournalStateFile imjournal.state
    $imjournalRatelimitInterval 15
    $imjournalRatelimitBurst 300000


    No comments