container load average, is it same with the host?

nttec

Renowned Member
Jun 1, 2016
95
0
71
42
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