#############################

 

 

问题:在 /var/log/message 中么有发现日志,或者发现 imjournal: begin to drop messages due to rate-limiting.主要原因是:


The limits are controlled in the /etc/systemd/journald.conf file.

RateLimitInterval=30s
RateLimitBurst=1000

操作:那么在/etc/rsyslog.conf 需要设置:

$ModLoad imjournal
$imjournalRatelimitInterval 600
$imjournalRatelimitBurst 20000


操作:然后重启rsyslog服务

 

 

 

 

 

 

 

 

 

 

 

###################