<div dir="ltr">In actually,I have done as you said but there are no pid info in fdinfo-img,just id,flag,type and fd.<div><br></div><div><div><div><div>root@dslab:/home/dslab/tools/criu# ./crit show /home/checkpoint/c2/fdinfo-4.img </div><div>{</div><div>    &quot;magic&quot;: &quot;FDINFO&quot;, </div><div>    &quot;entries&quot;: [</div><div>        {</div><div>            &quot;id&quot;: 56, </div><div>            &quot;flags&quot;: 0, </div><div>            &quot;type&quot;: &quot;REG&quot;, </div><div>            &quot;fd&quot;: 0</div><div>        }, </div><div>        {</div><div>            &quot;id&quot;: 57, </div><div>            &quot;flags&quot;: 0, </div><div>            &quot;type&quot;: &quot;REG&quot;, </div><div>            &quot;fd&quot;: 1</div><div>        }, </div><div>        {</div><div>            &quot;id&quot;: 58, </div><div>            &quot;flags&quot;: 0, </div><div>            &quot;type&quot;: &quot;REG&quot;, </div><div>            &quot;fd&quot;: 2</div><div>        }, </div><div>        {</div><div>            &quot;id&quot;: 59, </div><div>            &quot;flags&quot;: 1, </div><div>            &quot;type&quot;: &quot;UNIXSK&quot;, </div><div>            &quot;fd&quot;: 3</div><div>        }, </div><div>        {</div><div>            &quot;id&quot;: 60, </div><div>            &quot;flags&quot;: 0, </div><div>            &quot;type&quot;: &quot;REG&quot;, </div><div>            &quot;fd&quot;: 4</div><div>        }, </div><div>        {</div><div>            &quot;id&quot;: 61, </div><div>            &quot;flags&quot;: 1, </div><div>            &quot;type&quot;: &quot;PACKETSK&quot;, </div><div>            &quot;fd&quot;: 5</div><div>        }, </div><div>        {</div><div>            &quot;id&quot;: 62, </div><div>            &quot;flags&quot;: 1, </div><div>            &quot;type&quot;: &quot;INETSK&quot;, </div><div>            &quot;fd&quot;: 6</div><div>        }, </div><div>        {</div><div>            &quot;id&quot;: 63, </div><div>            &quot;flags&quot;: 0, </div><div>            &quot;type&quot;: &quot;INETSK&quot;, </div><div>            &quot;fd&quot;: 20</div><div>        }, </div><div>        {</div><div>            &quot;id&quot;: 64, </div><div>            &quot;flags&quot;: 0, </div><div>            &quot;type&quot;: &quot;INETSK&quot;, </div><div>            &quot;fd&quot;: 21</div><div>        }</div><div>    ]</div><div>}</div></div><div><br></div><div><div>In <span style="font-size:14px">packetsk.</span><span style="font-size:14px">img, there are the pid under &quot;fown&quot;,It&#39;s the pid which I look for ?</span></div><div><br></div><div><div style="font-size:14px">root@dslab:/home/dslab/tools/criu# ./crit show /home/checkpoint/c2/packetsk.img </div><div style="font-size:14px">{</div><div style="font-size:14px">    &quot;magic&quot;: &quot;PACKETSK&quot;, </div><div style="font-size:14px">    &quot;entries&quot;: [</div><div style="font-size:14px">        {</div><div style="font-size:14px">            &quot;id&quot;: 61, </div><div style="font-size:14px">            &quot;type&quot;: 10, </div><div style="font-size:14px">            &quot;protocol&quot;: 768, </div><div style="font-size:14px">            &quot;flags&quot;: &quot;0x80002&quot;, </div><div style="font-size:14px">            &quot;ifindex&quot;: 73, </div><div style="font-size:14px">            &quot;fown&quot;: {</div><div style="font-size:14px">                &quot;uid&quot;: 0, </div><div style="font-size:14px">                &quot;euid&quot;: 0, </div><div style="font-size:14px">                &quot;signum&quot;: 0, </div><div style="font-size:14px">                &quot;pid_type&quot;: 0, </div><div style="font-size:14px">                &quot;pid&quot;: 0</div><div style="font-size:14px">            }, </div><div><div>...</div><div>}</div></div></div></div></div></div><div><br></div><div>In the checkpoint dir,there are several core-$pid.img:</div><div><div>root@dslab:/home/checkpoint# ls c2/core-*</div><div>c2/core-1.img  c2/core-20.img  c2/core-68.img  c2/core-89.img  c2/core-90.img  c2/core-92.img</div></div><div><br></div><div>So I grep each core img</div><div><div>root@dslab:/home/dslab/tools/criu# ./crit show /home/checkpoint/c2/core-1.img | grep comm</div><div>                &quot;comm&quot;: &quot;systemd&quot;, </div><div>root@dslab:/home/dslab/tools/criu# ./crit show /home/checkpoint/c2/core-20.img | grep comm</div><div>                &quot;comm&quot;: &quot;systemd-journal&quot;, </div><div>root@dslab:/home/dslab/tools/criu# ./crit show /home/checkpoint/c2/core-68.img | grep comm</div><div>                &quot;comm&quot;: &quot;dhclient&quot;, </div><div>root@dslab:/home/dslab/tools/criu# ./crit show /home/checkpoint/c2/core-89.img | grep comm</div><div>                &quot;comm&quot;: &quot;sshd&quot;, </div><div>root@dslab:/home/dslab/tools/criu# ./crit show /home/checkpoint/c2/core-90.img | grep comm</div><div>                &quot;comm&quot;: &quot;rc.local&quot;, </div><div>root@dslab:/home/dslab/tools/criu# ./crit show /home/checkpoint/c2/core-92.img | grep comm</div><div>                &quot;comm&quot;: &quot;a.out&quot;, </div></div><div><br></div><div>a.out is just the test app without network usage.Maybe something wrong exist in other processes?</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-16 2:10 GMT+08:00 Tycho Andersen <span dir="ltr">&lt;<a href="mailto:tycho.andersen@canonical.com" target="_blank">tycho.andersen@canonical.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Oct 15, 2015 at 08:37:02PM +0800, Jason Lee wrote:<br>
&gt; In this server,I only run the latest version LXC and CRIU. There are no any<br>
&gt; my own applications<br>
&gt; using socket in LXC(maybe sshd or dhclient?).My distribution linux is<br>
&gt; debian 8<br>
&gt; so I don&#39;t know which applications use SOCK_PACKET ...<br>
<br>
</span>If you look to see which pid (crit show fdinfo-$pid.img) has an fd<br>
info with the id 61 (your SOCK_PACKET socket), you can get the command<br>
name from core.img (crit show core-$pid.img | grep comm). I&#39;d be<br>
curious to know what application this is, because it if is something<br>
like systemd, it will come downstream to ubuntu and we&#39;ll need to fix<br>
this soon :)<br>
<span class="HOEnZb"><font color="#888888"><br>
Tycho<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
&gt; To avoid this situation, I think using two network card is better than<br>
&gt; net-bridge,isn&#39;t it ?<br>
&gt;<br>
&gt; I wish criu could solve this issue in next version!<br>
&gt;<br>
&gt;<br>
&gt; - Jason<br>
&gt;<br>
&gt; 2015-10-15 20:08 GMT+08:00 Jason Lee &lt;<a href="mailto:ldm5235@gmail.com">ldm5235@gmail.com</a>&gt;:<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; ---------- Forwarded message ----------<br>
&gt; &gt; From: Pavel Emelyanov &lt;<a href="mailto:xemul@parallels.com">xemul@parallels.com</a>&gt;<br>
&gt; &gt; Date: 2015-10-15 20:06 GMT+08:00<br>
&gt; &gt; Subject: Re: [CRIU] lxc-checkpoint restore failed<br>
&gt; &gt; To: Jason Lee &lt;<a href="mailto:ldm5235@gmail.com">ldm5235@gmail.com</a>&gt;<br>
&gt; &gt; Cc: Tycho Andersen &lt;<a href="mailto:tycho.andersen@canonical.com">tycho.andersen@canonical.com</a>&gt;, <a href="mailto:criu@openvz.org">criu@openvz.org</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On 10/15/2015 03:04 PM, Pavel Emelyanov wrote:<br>
&gt; &gt; &gt; On 10/15/2015 02:58 PM, Jason Lee wrote:<br>
&gt; &gt; &gt;&gt; OK!<br>
&gt; &gt; &gt;&gt; Here it is:<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; root@dslab:/home/dslab/tools/criu# ./crit show<br>
&gt; &gt; /home/checkpoint/c2/packetsk.img<br>
&gt; &gt; &gt;&gt; {<br>
&gt; &gt; &gt;&gt;     &quot;magic&quot;: &quot;PACKETSK&quot;,<br>
&gt; &gt; &gt;&gt;     &quot;entries&quot;: [<br>
&gt; &gt; &gt;&gt;         {<br>
&gt; &gt; &gt;&gt;             &quot;id&quot;: 61,<br>
&gt; &gt; &gt;&gt;             &quot;type&quot;: 10,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Here it is. This is SOCK_PACKET which we didn&#39;t support (and didn&#39;t put<br>
&gt; &gt; check<br>
&gt; &gt; &gt; for it on dump). Which software uses this thing? AF_PACKET sockets are<br>
&gt; &gt; typically<br>
&gt; &gt; &gt; SOCK_RAW or SOCK_DGRAM, SOCK_PACKET is, frankly speaking, new to me :)<br>
&gt; &gt;<br>
&gt; &gt; Just FIY, I&#39;ve created an issue for this feature:<br>
&gt; &gt; <a href="https://github.com/xemul/criu/issues/73" rel="noreferrer" target="_blank">https://github.com/xemul/criu/issues/73</a><br>
&gt; &gt;<br>
&gt; &gt; -- Pavel<br>
&gt; &gt;<br>
&gt; &gt;<br>
</div></div></blockquote></div><br></div>