티스토리 뷰

imuxsock begins to drop messages from pid, imuxsock lost 134 messages from pid




리눅스 PPTP 서버를 운영하다 보면 syslog 메세지에 아래와 같이 흔히 남는다


Jan 16 13:13:44 localhost rsyslogd-2177: imuxsock begins to drop messages from pid 6558 due to rate-limiting

Jan 16 13:13:46 localhost rsyslogd-2177: imuxsock lost 134 messages from pid 6558 due to rate-limiting

Jan 16 13:13:47 localhost rsyslogd-2177: imuxsock begins to drop messages from pid 6558 due to rate-limiting

Jan 16 13:13:52 localhost rsyslogd-2177: imuxsock lost 234 messages from pid 6558 due to rate-limiting

Jan 16 13:13:56 localhost rsyslogd-2177: imuxsock begins to drop messages from pid 6558 due to rate-limiting

Jan 16 13:13:58 localhost rsyslogd-2177: imuxsock lost 69 messages from pid 6558 due to rate-limiting

Jan 16 13:14:05 localhost rsyslogd-2177: imuxsock begins to drop messages from pid 6558 due to rate-limiting

Jan 16 13:14:10 localhost rsyslogd-2177: imuxsock lost 1241 messages from pid 6558 due to rate-limiting

Jan 16 13:14:10 localhost rsyslogd-2177: imuxsock begins to drop messages from pid 6558 due to rate-limiting

Jan 16 13:14:17 localhost rsyslogd-2177: imuxsock lost 384 messages from pid 6558 due to rate-limiting




특정 프로세스에 로그가 많이 발생할때 발생하는 syslog 해당 메제리를 없애기 위해서는 


syslog.conf or rsyslog.conf 에 rate-limiting 관련 옵션 추가

$SystemLogRateLimitInterval 0

$SystemLogRateLimitBurst 500 



rsyslog 재시작


[root@localhost takakocap]# /etc/init.d/rsyslog restart


Shutting down system logger:                               [  OK  ]

Starting system logger:                                    [  OK  ] 



하면 해당 메세지는 없어졌다.

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/11   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
글 보관함