[pkg-lxc-devel] Bug#1008136: lxcfs takes 2 or 3 CPU cores constantly

Matthew Darwin bugs at mdarwin.ca
Wed Mar 23 02:53:55 GMT 2022


Package: lxcfs
Version: 4.0.7-1
Severity: important

Dear Maintainer,

On a large server, lxcfs takes 2 or 3 CPU cores constantly (and running ps -ax inside a container is slow)

   * What led up to the situation?

There are more than 250 containers running.
There are 6,000 processes spread out in all those containers with 60,000 threads running.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

If you have less processes/containers, then there is no problem with CPU.
Problem appears to get worse as the number of containers/processes increases.

It can take more than 20 seconds for 'ps -ax' running within a container to return anything, 
even in small containers where the list of processes returned is very small (less than 50).

-- System Information:
Debian Release: 11.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (90, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-10-amd64 (SMP w/96 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lxcfs depends on:
ii  init-system-helpers  1.60
ii  libc6                2.31-13+deb11u2
ii  libfuse2             2.9.9-5
ii  libgcc-s1            10.2.1-6
ii  lsb-base             11.1.0

lxcfs recommends no packages.

lxcfs suggests no packages.

-- no debconf information



More information about the Pkg-lxc-devel mailing list