技术解析

rsyslog 的不惑
0
2021-07-14 12:12:39
idczone
rsyslog这么好用的东西,但是最近遇到个诡异的问题,程序运行一开始是正常得,但是到后面会随机出现msg错误的情况,有人遇到过么?
具体信息?

Feb 2 22:55:58 bj-213-246 luanwusanguo: 1422888958 3 3 2045 2045006
Feb 2 23:00:10 bj-213-246 kernel: hpet1: lost 1 rtc interrupts
Feb 2 23:00:58 bj-213-246 luanwusanguo: 1422889258 3 3 2045 2045006
Feb 2 23:05:58 bj-213-246 luanwusanguo: 1422889558 3 3 2045 2045006
Feb 2 23:10:58 bj-213-246 luanwusanguo: 1422889858 3 3 2045 2045006
Feb 2 23:15:58 bj-213-246 s^M
$1^M
0^M
$2^M
19^M
: 1422890158 3 3 2045 2045006
突然就这样子了

你有遇到过么?

$ModLoad imuxsock
$WorkDirectory /data/syslog/
$ActionQueueType LinkedList
$ActionQueueFileName rsyslog.tmp
$ActionResumeRetryCount -1
$ActionQueueSaveOnShutdown on
$SystemLogRateLimitInterval 0
$SystemLogRateLimitBurst 0
$MaxMessageSize 4k
$DirOwner root
$DirGroup root
$DirCreateMode 0755
$FileOwner root
$FileGroup root
$FileCreateMode 0644
$EscapeControlCharactersOnReceive off

没遇到过,看起来是比较奇怪,这类问题去SO问靠谱些

好,我去问问看

数据地带为您的网站提供全球顶级IDC资源
在线咨询
专属客服