Spamming of cpu errors in lxd.daemon in /var/log/messages
Environment
- Red Hat Enterprise Linux 7
Issue
- lxcfs spamming /var/log/messages with logs "lxc.payload.container has unexpected cpu time; unable to determine idle time"
date: <hostname> lxd.daemon: proc_fuse.c: 880: proc_stat_read: cpu16 from /lxc.payload.dms-grid-nappljobs-K has unexpected cpu time: 7108190 in /proc/stat, 9706556 in cpuacct.usage_all; unable to determine idle time
date: <hostname> lxd.daemon: proc_fuse.c: 880: proc_stat_read: cpu17 from /lxc.payload.dms-grid-nappljobs-K has unexpected cpu time: 13922346 in /proc/stat, 24269832 in cpuacct.usage_all; unable to determine idle time
Resolution
-
These messages are from lxd daemon which is a 3rd Party daemon and not supported from Redhat.
-
Please engage the application vendor for assistance
Diagnostic Steps
- LXC lets Linux users easily create and manage system or application containers.
Sorting out the process from lxc:
$ cat ps | grep -i lx
user 1831 0.0 0.0 4628 724 ? Ss 0:00 /bin/sh /snap/lxd/17299/commands/daemon.start
user 3263 0.6 0.0 3212420 13644 ? Sl 86:07 lxcfs /var/snap/lxd/common/var/lib/lxcfs -p /var/snap/lxd/common/lxcfs.pid
user 3657 0.3 0.1 3835396 218208 ? Sl 45:06 lxd --logfile /var/snap/lxd/common/lxd/logs/lxd.log --group lxd
user 4104 0.0 0.0 41000 11396 ? SN 0:55 /UC4/bin/ucxjlx6-LNX_S089L4410
user 9193 0.0 0.0 1229132 22300 ? Ss 0:38 [lxc monitor] /var/snap/lxd/common/lxd/containers dms-centralservices-nappl-K1
user 10965 0.0 0.0 1230540 20388 ? Ss 0:39 [lxc monitor] /var/snap/lxd/common/lxd/containers dms-enviam-nappl-K1
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments