[lxc-devel] odd freezer cgroup behavior

Christian Brauner christianvanbrauner at gmail.com
Wed Oct 28 10:55:32 UTC 2015


On Wed, Oct 28, 2015 at 04:08:09PM +0900, Tycho Andersen wrote:
> 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.

Could this be by any chance related to a kernel bug? I don't see this behaviour
at all (neither priv nor unpriv):

        Archlinux
        Kernel 4.2.5
        lxc 1.1.4
        lxcfs 0.11
        cgmanager 0.39
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20151028/fa4649ff/attachment-0001.sig>


More information about the lxc-devel mailing list