티스토리 뷰
imuxsock begins to drop messages from pid, imuxsock lost 134 messages from pid
CHOMAN 2015. 6. 10. 13:49리눅스 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 |
[root@localhost takakocap]# /etc/init.d/rsyslog restart
Shutting down system logger: [ OK ]
Starting system logger: [ OK ]
하면 해당 메세지는 없어졌다.
'Linux' 카테고리의 다른 글
sysctl.conf (kernel parameter) (0) | 2015.06.10 |
---|---|
Mysql 3.23.58 Max 커넥션 튜닝 (0) | 2015.06.10 |
리눅스 kernel BYPASS (0) | 2015.06.04 |
Centos 6 iptables, ipset, geoip 연동하기 (patch-o-matric-ng) (0) | 2015.06.04 |
유닉스 타임 (Unix time) (0) | 2015.06.04 |
- Total
- Today
- Yesterday
- NGINX
- 베이어다이나믹
- ssh
- yum
- virtualbox
- cURL
- iptables
- kvm
- php
- Apache
- OpenVPN
- 인증서
- IPSEC
- glusterfs
- MySQL
- mariadb
- mod_security
- GeoIP
- pptp
- SSL
- L2TP
- galera
- 리눅스
- softether
- WAF
- centos8
- gitlab
- centOS7
- HAProxy
- ntp
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |