copyright 1998-2018 by Mark Verboom
ipv6 ready RSS Feed Switch to English

Ga terug naar Nieuws

Proxmox 4.1 lxcfs

Naar blog index

Thursday, 24 March, 2016

Proxmox 4.1 lxcfs

Since Proxmox 4.1 I've had a number of issue's on my servers.

The first (and smallest) issue has to do with my Thinlinc installations. The agent component can hang after running a specific cronjob. A "ps" process starts to hang. The only way to resolv this is to restart the zone. This behaviour seems to be related to the lxcfs package on version 0.13-pve3. Later versions seem to resolve this.

The second issue was much more of a problem. This manifests itself as a server with very high load (>12), lots of processes (normally 1400, now > 10.000) but otherwise responding fine. Everything that is running in the lxc containers seems to hang on IO. While checking the processlist further (before rebooting the server, as this seems the only way out), the output of pstree shows something intresting.

| |-systemd-journal
| `-systemd-logind
|-lxcfs-+-lxcfs---lxcfs
| `-671*[{lxcfs}]
|-ntpd
|-pmxcfs-+-{cfs_loop}
| |-8*[{pmxcfs}]
| `-{server}

So there seem to be 671 threads running for lxcfs? Normally this is around 10 on this system. After downgrading the lxcfs 2.0.0-pve1 package to 0.13-pve3, this issue seems to be gone. Downgrading is very straight forward:

apt-get install lxcfs=0.13-pve3

After the downgrade, it seems best to restart the server, so all containers run with this version of lxcfs.

There now is a new version of the lxcfs package, 2.0.0-pve2. It looks like this package fixes the above two issue. I've currently not seen any new issue's :)