On my ubuntu 14.04 rsyslogd is using 100% of my CPU (both cores). Even after some google searching I were not able to figure out why rsyslogd is using all of the cpu capacity all the time.
The solution I came up with was this:
service rsyslog stop
sed -i -e 's/^\$ModLoad imklog/#\$ModLoad imklog/g' /etc/rsyslog.conf
service rsyslog start
This fixed the problem but I do not know what I really did there. I were just so frustated (after some hours of googling) that I tried it.
Can someone explain why this worked?
imklogprovides logging support for kernel. It reads messages from kernel log and passes tosyslog. Myrsyslog.confalso has this but i don't face any problem like this. After commenting out the module loading line your one in ok, i think there might be some other parameter that was triggering the huge CPU usage byimklog. – heemayl Feb 07 '15 at 04:03