Skip to content

Instantly share code, notes, and snippets.

@h4cc
Created November 5, 2013 21:54
Show Gist options
  • Save h4cc/7327032 to your computer and use it in GitHub Desktop.
Save h4cc/7327032 to your computer and use it in GitHub Desktop.
Using rsyslog on OpenVZ like Proxmox can lead to a problem, which symtoms are mostly >= 100% CPU usage of rsyslogd. Error message is "Cannot read proc file system: 1 - Operation not permitted.", because the file /proc/kmsg could not be read.
sed -i -e 's/^\$ModLoad imklog/#\$ModLoad imklog/g' /etc/rsyslog.conf
service rsyslog restart
# Source: https://github.com/devananda/openvz-tools/blob/master/install-openvz-kernel.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment