Linux:rsyslog 日志丢失 messages lost due to rate-limiting

系统日志显示

cat /var/log/messages

Apr  7 16:20:01 ngnodeb rsyslogd: imjournal: 154664 messages lost due to rate-limiting

解决方法

修改配置文件,添加下面配置

vim /etc/rsyslog.conf

$IMUXSockRateLimitInterval 0
$SystemLogRateLimitInterval 0
$imjournalRatelimitInterval 0
$imjournalRatelimitBurst 0

重启

/bin/systemctl restart rsyslog.service

你可能感兴趣的:(linux,知识,linux,运维)