How to disable rsyslog rate-limiting

Redhat/CentOS 6 and other Linux distributions use rsyslog instead of syslog. In rsyslog v.5, rate-limiting of the log messages is enabled by default. Additionally, systemd-journald imposes rate limiting on logging. This causes problems for Aspera because we need all the logging information in analyzing performance and problems. Turn off rate limiting on logging to ensure that all log messages are recorded:

  1. Open /etc/systemd/journald.conf in a text editor.
  2. Locate the following lines: 
    Change them to the following:
  3. Save your changes and close the file.
  4. Restart systemd-journald:
    $ systemctl restart systemd-journald
  5. Open /etc/rsyslog.conf in a text editor.
  6. Locate the Global Directives section and the following lines under it:
    # Disable rate-limiting of log entries
    $SystemLogRateLimitInterval 0
    $SystemLogRateLimitBurst 0
  7. Save your changes and close the file.
  8. Restart rsyslogd: 
    service rsyslog restart (/etc/init.d/rsyslog restart)

Make sure you are logging asynchronously, as described in this Knowledge Base article.

Powered by Zendesk