<div dir="ltr"><div>Hi, Pavel,<br></div>Thanks for you reply. The main purpose is to checkpoint the child process. I found this in the criu manual<br><br> -n, --namespaces <ns>[,<ns>...]<br> Checkpoint namespaces. Namespaces must be separated by comma. Currently supported<br> namespaces: uts, ipc, mnt, pid, net.<br><br><div><div><div class="gmail_extra">Can I use this to only dump the child process with its pid and net namespace?<br><br></div><div class="gmail_extra">- Hui<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 30, 2015 at 12:18 PM, 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">On 07/30/2015 06:57 PM, Hui Kang wrote:<br>
> Hi,<br>
<span class=""><br>
> (00.004681) Error (namespaces.c:247): Can't dump nested pid namespace for 28080<br>
<br>
</span>Here's the error. Your task 28078 lives in one pid namespace and its child<br>
28080 -- in another. This case is not yet supported by CRIU, all tasks in<br>
a tree should live in the same pid namespace.<br>
<br>
To support multiple pid namespaces we need to resolve tasks' pids in all of<br>
them, collect this info in the image files and on restore properly clone()<br>
them into respective pid namespaces.<br>
<br>
-- Pavel<br>
<span class=""><br>
> (00.004713) Error (namespaces.c:443): Can't make pidns id<br>
> (00.004742) Unlock network<br>
> (00.004772) Unfreezing tasks into 1<br>
> (00.004799) Unseizing 28078 into 1<br>
> (00.004911) Unseizing 28080 into 1<br>
> (00.005083) Error (cr-dump.c:1957): Dumping FAILED.<br>
><br>
> Can anyone help? Thanks in advance.<br>
><br>
> - Hui<br>
><br>
><br>
><br>
><br>
</span>> _______________________________________________<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></div></div></div></div>