LXC loadavg

Discussion in 'Proxmox VE: Installation and configuration' started by janos, Jun 11, 2018.

Tags:
  1. loomes

    loomes Member

    Joined:
    May 22, 2018
    Messages:
    49
    Likes Received:
    9
    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.
     
    #21 loomes, Apr 20, 2019
    Last edited: Apr 20, 2019
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice