LCX prints "bad data in /proc/uptime" on top command

Pablo Alcaraz

Well-Known Member
Jul 6, 2017
54
8
48
56
Hello

I executed in a ubuntu 14.04 LXC container the command:

top​

And I get:

bad data in /proc/uptime
bad data in /proc/uptime​
bad data in /proc/uptime
bad data in /proc/uptime

in the console.

Perhaps the LCX container software distributed in Proxmox was hit by:

github.com/lxc/lxd/issues/3423
github.com/lxc/lxcfs/issues/191
?

I applied what you said here: forum.proxmox.com/threads/proxmox-upgrade-lxc-containers-not-work.27044/ but it did not work.
 
What version of PVE you use: 4.x or 5.x? Could you check did you experience also the other problem: top report only 0.0, 100.0, 200.0 ... in %CPU column. I have the same problem with PVE 5.0 and debian9 container. Fortunately it is on test setup. PVE 5 at the moment use lxcfs 2.0.7. You can downgrade to 2.0.6-pve500. Problem will disappear, but you downgrade - be warned.
 
Last edited: