[lxc-devel] odd freezer cgroup behavior

Tycho Andersen tycho.andersen at canonical.com
Wed Oct 28 07:08:09 UTC 2015


Hi all,

I'm seeing some (what seems to me to be) odd behavior, where only a
task's init process is in its freezer cgroup:

firedrill:~ sudo lxc-info -n proposed
Name:           proposed
State:          RUNNING
PID:            10959
IP:             10.0.3.176
IP:             10.0.4.1
CPU use:        2.77 seconds
BlkIO use:      0 bytes
Memory use:     24.42 MiB
KMem use:       0 bytes
Link:           vethM6Q3GG
 TX bytes:      1.01 KiB
 RX bytes:      3.66 KiB
 Total bytes:   4.67 KiB
firedrill:~ cat /sys/fs/cgroup/freezer/lxc/proposed/tasks 
10959

I vaguely recall something like this before, but I don't remember how it was
resolved. Surely all of the tasks in the container should live in the freezer
cgroup?

Note that this doesn't seem to happen with LXD (even with privileged
containers). Haven't had time to investigate further.

Thanks,

Tycho


More information about the lxc-devel mailing list