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:
- Open
/etc/systemd/journald.conf
in a text editor. - Locate the following lines:
#RateLimitInterval=30s #RateLimitBurst=1000
Change them to the following:RateLimitInterval=0 RateLimitBurst=0
- Save your changes and close the file.
- Restart systemd-journald:
$ systemctl restart systemd-journald
- Open
/etc/rsyslog.conf
in a text editor. - Locate the Global Directives section and the following lines under it:
#Disablerate-limitingof log entries $SystemLogRateLimitInterval 0 $SystemLogRateLimitBurst 0
- Save your changes and close the file.
- Restart rsyslogd:
service rsyslog restart (/etc/init.d/rsyslog restart)
Make sure you are logging asynchronously, as described in this Knowledge Base article.
Related Information
[{"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"}}]
Was this topic helpful?
Document Information
Modified date:
05 May 2019
UID
ibm10746105