imuxsock lost 353 messages from pid 20261 due to rate-limiting 解决办法

日志中出现大量一下日志时

May 24 18:42:08 yw_lvs2_backup rsyslogd-2177: imuxsock lost 353 messages from pid 20261 due to rate-limiting

说明超过的rsyslog的配置记录最大峰值,可以通过syslog的配置文件来修复

解决方案如下:

echo "$SystemLogRateLimitInterval 60" >> /etc/rsyslog.conf
echo "$SystemLogRateLimitBurst 3000" >> /etc/rsyslog.conf

或者通过

#vim /etc/rsyslog.conf

:$
$SystemLogRateLimitInterval 60
$SystemLogRateLimitBurst 3000

esc
:x

 

重启rsyslog

/etc/init.d/rsyslog resart

或者service rsyslog restart

你可能感兴趣的:(imuxsock lost 353 messages from pid 20261 due to rate-limiting 解决办法)