Add new comment

OpenVZ/Proxmox Container: rsyslog problems after dist-upgrade

Submitted by Nikolaus Polak on Fri, 05/02/2014 - 09:29

Right after a update of Ubuntu Server I faced that rsyslog used 100% CPU and that /var/log/syslog got filled up with following line, which was repeated almost every second:

[rsyslog] imklog: error reading kernel log - shutting down: Bad file descriptor

The problem is, that rsyslog tries to log kernel messages, which is as OpenVZ/Proxmox Container default not possible - to fix this, remove/comment out following line in the file /etc/rsyslog.conf (here already done):

# $ModLoad imklog   # provides kernel logging support

After that, restart rsyslog and the problem should be gone.

The content of this field is kept private and will not be shown publicly.
The comment language code.