IBM Support

How to disable rsyslog rate-limiting

Question & Answer


Question

How to disable rsyslog rate-limiting

Answer

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:
    #RateLimitInterval=30s
    #RateLimitBurst=1000
    
    Change them to the following:
    RateLimitInterval=0
    RateLimitBurst=0
  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:
    #Disablerate-limitingof 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.

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8NDZ","label":"IBM Aspera"},"Component":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
05 May 2019

UID

ibm10746105