Why is rsyslog using 99% of my CPU?

There is a bug in the rsyslog version that is bundled with certain Operating Systems (we've noticed this mainly with Ubuntu) when run on OpenVZ, but there is a simple one-liner to fix it.

Login to your VPS and run the following command as root:
service rsyslog stop && sed -i -e 's/^\$ModLoad imklog/#\$ModLoad imklog/g' /etc/rsyslog.conf && service rsyslog start

That's it, problem solved and our nodes will love you for it.
  • 2 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

Do you offer refunds?

Refunds outside of our Money Back Guarantee are on a per user basis. Please refer to our Terms of...

Do you provide a money back guarantee?

Indeed we do! If you're unhappy with our service for any reason during the first 30 days, we can...

What is SSH?

SSH stands for Secure Shell. It is a secured method of connecting to network device remotely,...

What is rsync?

rsync is the most common backup program used today. It provides many advantages over other backup...

What is vSwap?

vSwap, or Virtual Swap, is a new memory management feature in RHEL 6 (CentOS 6.0) that allows an...

Powered by WHMCompleteSolution