[lxc-users] LXC, criu and cgroups...

Tycho Andersen tycho.andersen at canonical.com
Tue Apr 7 13:37:26 UTC 2015


Hi Dirk,

On Tue, Apr 07, 2015 at 12:26:42PM +0200, Dirk Geschke wrote:
> Hi Tycho,
> 
> > > Ah, that sounds good. I'm excited to test it.
> > > 
> > > I guess this is a patch for lxc-1.1.x and not lxd-0.5 or criu?
> > 
> > Yes, it's a liblxc patch (or rather, a series of patches).
> 
> hmm, I think this patch is now part of lxc, at least a git pull
> installed a lot of files and the log mentions things like:
> 
>    c/r: teach criu about cgmanager's socket
> 
> But it still fails. An lxc-checkpoint of an unprivileged container
> results in

Checkpointing of unprivileged containers won't work right now. Do you
have the same problems with privileged containers?

Tycho

>    Error (mount.c:636): 141:./sys/fs/cgroup/cgmanager is overmounted
> 
> The same is for lxd and move command, with cgmanager I get:
> 
>    Found cgmanager mapping for ./sys/fs/cgroup/cgmanager mountpoint
>    Found cgmanager mapping for ./sys/fs/cgroup/cgmanager mountpoint
>    Error (mount.c:636): 92:./sys/fs/cgroup/cgmanager is overmounted
> 
> and if I mount cgroup on /sys/fs/cgroup:
> 
>    Error (mount.c:624): 74:./sys/fs/cgroup/cpuset,cpu,cpuacct,blkio,memory,devices,freezer,net_cls,perf_event,net_prio,hugetlb,debug/lxc/ubuntix doesn' t have a proper root mount
> 
> BTW: What is the right one with lxd? Using cgmanager oder direct mount
>      cgroup to /sys/fs/cgroup?
> 
> If I enable Memory Tracking with kernel 4.0.0-rc6 I get now:
> 
>    # criu check
>    Looks good.
> 
> Do I miss something?
> 
> Best regards
> 
> Dirk
> -- 
> +----------------------------------------------------------------------+
> | Dr. Dirk Geschke       / Plankensteinweg 61    / 85435 Erding        |
> | Telefon: 08122-559448  / Mobil: 0176-96906350 / Fax: 08122-9818106   |
> | dirk at geschke-online.de / dirk at lug-erding.de  / kontakt at lug-erding.de |
> +----------------------------------------------------------------------+
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list