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

Pablo Alcaraz

Member
Jul 6, 2017
53
8
13
55
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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!