<div dir="ltr"><div>I believe they were all in the cgroup. Basically we create a new container with a process in it, and this container has an entry in <span style="font-size:13px">/sys/fs/cgroup/freezer/</span><span style="font-size:13px">docker/ that matches the id of the container. If I attempt to pause the container, it works as expected so I believe all the tasks are in the cgroup. At some point, this container is checkpointed.</span></div><div><br></div><div>Later, we restore a *new* container from this checkpoint. This is a force-restore on a non-started container. This container has a different id of course, but no entry in <span style="font-size:13px">/sys/fs/cgroup/freezer/</span><span style="font-size:13px">docker/. As such it thus fails to pause.</span></div><div><span style="font-size:13px"><br></span></div><div>Hopefully I’ve described the sequence of events better, but I’m happy to answer any other questions if this is vague.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 7, 2015 at 1:38 AM, Pavel Emelyanov <span dir="ltr"><<a href="mailto:xemul@parallels.com" target="_blank">xemul@parallels.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 09/06/2015 12:42 AM, Francisco Tolmasky wrote:<br>
> It seems that when I restore from a checkpoint, no entry is placed in<br>
> /sys/fs/cgroup/freezer/docker/, which leads to me not being able to pause<br>
> the container.<br>
<br>
</span>Were these tasks in that cgroup before dump?<br>
<span class=""><br>
> I’ve seen some cgroup commits going by here, is this related/already being<br>
> addressed?<br>
><br>
> BTW, I’ve tried first making a container, then restoring into it to try to<br>
> get my freezer entry, but restore is crashing for an unrelated reason when<br>
> I do that (we’ve only ever restored from start in our use case so not sure<br>
> at all what that is about).<br>
><br>
> Thanks,<br>
><br>
> Francisco<br>
><br>
> --<br>
> Francisco Tolmasky<br>
</span>> <a href="http://www.tolmasky.com" rel="noreferrer" target="_blank">www.tolmasky.com</a> <<a href="http://www.tolmasky.com" rel="noreferrer" target="_blank">http://www.tolmasky.com</a>><br>
> <a href="mailto:tolmasky@gmail.com">tolmasky@gmail.com</a> <mailto:<a href="mailto:tolmasky@gmail.com">tolmasky@gmail.com</a>><br>
><br>
><br>
> _______________________________________________<br>
> CRIU mailing list<br>
> <a href="mailto:CRIU@openvz.org">CRIU@openvz.org</a><br>
> <a href="https://lists.openvz.org/mailman/listinfo/criu" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/criu</a><br>
><br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Francisco Tolmasky<br><a href="http://www.tolmasky.com" target="_blank">www.tolmasky.com</a><br><a href="mailto:tolmasky@gmail.com" target="_blank">tolmasky@gmail.com</a></div>
</div>