container load average, is it same with the host?

nttec

Active Member
Jun 1, 2016
95
0
26
40
is it normal for a container to have a load average same with the host server?

I have centos container and it shows the same load average of the host server when I doing top command on the container and the host server.
 
hi,

is it normal for a container to have a load average same with the host server?
yes, please check this thread [0] for a workaround if you don't like this.

(this is because of the host kernel being shared with the container, and tools like top are making some system calls like sysinfo() to retrieve the necessary information, since kernel is from host the retrieved info is also from the host in some cases - it depends on how the tool gathers info)



[0]: https://forum.proxmox.com/threads/lxc-loadavg.44463/#post-239269
 

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!