CrownCloud Wiki

CrownCloud - Internet Services

User Tools

Site Tools


ubuntu_14.04_openvz_rsyslog_fix

Ubuntu 14.04 OpenVZ rsyslog fix

In the latest version of Ubuntu, mainly 14.04, the rsyslog service / application causes an issue with the OpenVZ kernel creating a high amount of constant load. The fix for this is simple,

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

Alternate fix :

nano /etc/rsyslog.conf  -or- vi /etc/rsyslog.conf

Then, find the following line,

$ModLoad imklog # provides kernel logging support

and comment it out, so it looks like this,

#$ModLoad imklog # provides kernel logging support

Save the file and,

service rsyslog reload //**or**// service rsyslog restart
ubuntu_14.04_openvz_rsyslog_fix.txt · Last modified: 2014/10/01 16:19 by speedbus