Hi, I recently noticed a strange behavior with some of our LXC containers. In some containers htop shows all available CPU cores of the host machine, but other LXC containers running on the same host do not. I know about this old "bug" (https://forum.proxmox.com/threads/lxc-loadavg.44463/), but it has been fixed for many years, and the
Please see the attached screenshot of the configuration of almost identical LXC for small websites. They were created just a few months apart on the same host, but behave differently. Also worth mentioning for container 3831 is that CPU 0-17 are declared offline, CPU 18 (as
-l
flag is set in /etc/systemd/system/lxcfs.service.d/override.conf
, so this should not be the problem here.Please see the attached screenshot of the configuration of almost identical LXC for small websites. They were created just a few months apart on the same host, but behave differently. Also worth mentioning for container 3831 is that CPU 0-17 are declared offline, CPU 18 (as
pct cpusets
also correctly detects) has low (1.3%) utilization and all other CPUs are shown with 0.0% utilization instead of "offline"