====== Load Average ======
===== Issue =====
Common issue is that ''la'' inside LXC shows hosts's loadaverage.
Related info:
* [[https://bugzilla.proxmox.com/show_bug.cgi?id=1870|Bug 1870 - test and potentially enable lxcfs loadavg feature ]]
* [[https://forum.proxmox.com/threads/separate-loadavg-for-individual-containers.44460/|Separate loadavg for individual containers]]
===== Solution =====
As solution, LXC provide option: ''-l, --enable-loadavg Enable loadavg virtualization''.
''This feature doesn't add to the isolation at all. `sysinfo()` will return the host information even when in a container.''
[Service]
ExecStart=
ExecStart=/usr/bin/lxcfs -l /var/lib/lxcfs
NOTE: After restarting lxcfs.service, running containers lost /proc access. Restart of containers is required.
systemctl restart lxcfs