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

猜你喜欢

转载自blog.csdn.net/hhd1988/article/details/130015586
今日推荐