LXC systemd-journal process eats CPU on CentOS/RHEL 7.x

Sometimes systemd-journal process eats CPU and locks system load to 2.00 which is abnormal operation and in order to fix this there is a trick

Set “lxc.kmsg = 0” in the container config
vi /var/lib/lxc/dns01/config

and add

lxc.kmsg = 0

Start container if not already started and from within run:
rm -f /dev/kmsg

Restart lxc service & container
systemctl restart lxc.service
lxc-stop –name=dns01 && lxc-start –name=dns01

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.