LXC loadavg

loomes

Member
May 22, 2018
58
12
8
39
i have enabled this by add the -l Parameter. Shutdown all LXC's, edit /lib/systemd/system/lxcfs.service, restart lxcfs and startup the containers again. Seems to work but i have lots of messages in syslog:
Apr 20 10:47:42 proxmox lxcfs[20932]: bindings.c: 5478: refresh_load: Open proc_path failed in refresh_load.

Edit:
I think i found the Problem.
After looking at the bindings.c code i sea that every 5 seconds the values where reloaded in proc.
I have multiple lxc containers with screen sessions. In screnn hardline i display some useful infos, also loadavg :) and i reread loadavg every 5 seconds :)
I changed this to 7 seconds and the syslog message is gone.
 
Last edited:

oguz

Proxmox Staff Member
Staff member
Nov 19, 2018
766
80
28
because it's also a relatively new feature for lxcfs, which hasn't been tested thoroughly.
 

harvie

Member
Apr 5, 2017
88
14
8
30
because it's also a relatively new feature for lxcfs, which hasn't been tested thoroughly.
Well... I run 40+ CTs using it since day one and so far i didn't had any problems. Which means i've tested it for longer time than elapsed between ZFS 8.x stable release and it's inclusion in proxmox :)
 
  • Like
Reactions: alexskysilk

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!