Skip to content

Instantly share code, notes, and snippets.

@Bonno
Forked from dragolabs/ubunru-rsyslog-hack.sh
Last active April 20, 2016 12:32
Show Gist options
  • Save Bonno/91f4ef4922b88dc9afb3 to your computer and use it in GitHub Desktop.
Save Bonno/91f4ef4922b88dc9afb3 to your computer and use it in GitHub Desktop.
Hack to repair 100% CPU load by rsyslog on ubuntu 12.04 in openvz
#!/bin/sh
service rsyslog stop
sed -i -e 's/^\$ModLoad imklog/#\$ModLoad imklog/g' /etc/rsyslog.conf
service rsyslog start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment