message显示rsyslog日志服务警告信息due to rate-limiting
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了message显示rsyslog日志服务警告信息due to rate-limiting相关的知识,希望对你有一定的参考价值。
/var/log/message日志大量这样的提示信息。应该rsyslog的配置记录超过最大值,修改syslog的配置文件来解决。Apr 23 16:11:53 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 2002 due to rate-limiting Apr 23 16:11:57 kkmail rsyslogd-2177: imuxsock lost 47 messages from pid 2002 due to rate-limiting Apr 23 16:25:04 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 2002 due to rate-limiting Apr 23 16:25:07 kkmail rsyslogd-2177: imuxsock lost 482 messages from pid 2002 due to rate-limiting Apr 23 17:27:31 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 2002 due to rate-limiting Apr 23 17:27:40 kkmail rsyslogd-2177: imuxsock lost 636 messages from pid 2002 due to rate-limiting Apr 23 17:56:43 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 2002 due to rate-limiting Apr 23 17:56:52 kkmail rsyslogd-2177: imuxsock lost 1395 messages from pid 2002 due to rate-limiting Apr 23 18:35:48 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 2002 due to rate-limiting Apr 23 18:35:51 kkmail rsyslogd-2177: imuxsock lost 498 messages from pid 2002 due to rate-limiting Apr 23 20:01:02 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 1938 due to rate-limiting Apr 23 20:01:06 kkmail rsyslogd-2177: imuxsock lost 409 messages from pid 1938 due to rate-limiting Apr 23 20:01:08 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 1938 due to rate-limiting Apr 24 00:01:00 kkmail rsyslogd-2177: imuxsock lost 385 messages from pid 1938 due to rate-limiting Apr 24 00:01:02 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 1938 due to rate-limiting Apr 24 00:01:06 kkmail rsyslogd-2177: imuxsock lost 421 messages from pid 1938 due to rate-limiting Apr 24 00:01:07 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 1938 due to rate-limiting Apr 24 03:43:08 kkmail logrotate: ALERT exited abnormally with [1] Apr 24 04:01:00 kkmail rsyslogd-2177: imuxsock lost 373 messages from pid 1938 due to rate-limiting Apr 24 04:01:02 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 1938 due to rate-limiting Apr 24 04:01:06 kkmail rsyslogd-2177: imuxsock lost 409 messages from pid 1938 due to rate-limiting Apr 24 04:01:07 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 1938 due to rate-limiting Apr 24 08:01:00 kkmail rsyslogd-2177: imuxsock lost 385 messages from pid 1938 due to rate-limiting Apr 24 08:01:02 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 1938 due to rate-limiting Apr 24 08:01:06 kkmail rsyslogd-2177: imuxsock lost 382 messages from pid 1938 due to rate-limiting Apr 24 08:01:07 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 1938 due to rate-limiting Apr 24 10:13:53 kkmail rsyslogd-2177: imuxsock lost 412 messages from pid 1938 due to rate-limiting Apr 24 10:13:56 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 1938 due to rate-limiting Apr 24 10:13:59 kkmail rsyslogd-2177: imuxsock lost 400 messages from pid 1938 due to rate-limiting Apr 24 10:14:00 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 1938 due to rate-limiting Apr 24 10:31:03 kkmail rsyslogd-2177: imuxsock lost 394 messages from pid 1938 due to rate-limiting Apr 24 10:33:56 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 2002 due to rate-limiting Apr 24 10:33:58 kkmail rsyslogd-2177: imuxsock lost 23 messages from pid 2002 due to rate-limiting Apr 24 10:44:03 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 2002 due to rate-limiting Apr 24 10:44:06 kkmail rsyslogd-2177: imuxsock lost 31 messages from pid 2002 due to rate-limiting Apr 24 10:49:52 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 2002 due to rate-limiting Apr 24 10:49:56 kkmail rsyslogd-2177: imuxsock lost 81 messages from pid 2002 due to rate-limiting Apr 24 10:51:52 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 2002 due to rate-limiting Apr 24 10:51:54 kkmail rsyslogd-2177: imuxsock lost 7 messages from pid 2002 due to rate-limiting Apr 24 10:59:04 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 1938 due to rate-limiting Apr 24 10:59:08 kkmail rsyslogd-2177: imuxsock lost 481 messages from pid 1938 due to rate-limiting Apr 24 10:59:09 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 1938 due to rate-limiting Apr 24 11:09:48 kkmail yum[11179]: Updated: 1:smartmontools-5.43-3.el6.x86_64 Apr 24 11:58:12 kkmail rsyslogd-2177: imuxsock lost 313 messages from pid 1938 due to rate-limiting Apr 24 12:01:02 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 1938 due to rate-limiting Apr 24 12:01:06 kkmail rsyslogd-2177: imuxsock lost 520 messages from pid 1938 due to rate-limiting Apr 24 12:01:07 kkmail rsyslogd-2177: imuxsock begins to drop messages from pid 1938 due to rate-limiting Apr 24 13:07:14 kkmail rsyslogd-2177: imuxsock lost 274 messages from pid 1938 due to rate-limiting
修改syslog的配置文件并确认:
echo '$SystemLogRateLimitInterval 60' >> /etc/rsyslog.conf echo '$SystemLogRateLimitBurst 3000' >> /etc/rsyslog.conf
重启rsyslog服务:
/etc/init.d/rsyslog restart
以上是关于message显示rsyslog日志服务警告信息due to rate-limiting的主要内容,如果未能解决你的问题,请参考以下文章