Last Updated: February 25, 2016
·
723
· acefxlabs

RSYSLOG CPU FIXES

I was working on a number of servers and all just started running over 100% CPU and RSYSLOG seems to be the culprit.

I did a number of google search and realized its a general problem.
When you run update mostly on Ubuntu and there is kernel conflict, you get this.

Rsyslog has a tendency to use 100%+ CPU on OpenVZ. To fix it run this bash command

service rsyslog stop
sed -i -e 's/^\$ModLoad imklog/#\$ModLoad imklog/g' /etc/rsyslog.conf
service rsyslog start