LXC container shows host CPU and buggy memory

encore

Well-Known Member
May 4, 2018
108
1
58
36
Hi,

htop on my debian 9 LXC CT shows two cores of the hostserver and its physical CPU usage.
Furthermore htop shows 4/2 gb memory usage, free -m shows the true memory usage.
AVG load of the hostserver is also shown.

Is there a workaround for it to really show the used resources by this LXC CT instead of the node usage?
 
Hi Fabian,



Means the avg load display will be fixed shortly? Is there an ETA?

no, it means that there is an (optional) upstream solution that we will take a look at and MAYBE implement/enable.

And whats about the memory usage and core usage in htop?
- Memory usage is completly random and shows a value higher than maximum
- core usage shows core usage from node view

it's not completely random, there are some scenarios where the display is wrong though, and those are not easily fixable without creating other similar issues.

the core issue is documented (check the first link I posted).
 

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!