<div dir="ltr">I attached C code used in my application and I uploaded here the image: <a href="https://www.dropbox.com/s/d3u4srrpv6vpj4q/tountar.tar.gz?dl=0">https://www.dropbox.com/s/d3u4srrpv6vpj4q/tountar.tar.gz?dl=0</a><br><br>Maybe it&#39;s helpful.<div><br></div><div><br></div><div>Thank you,</div><div>Federico</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>__</div><div><span style="font-size:12.8px">Federico Reghenzani</span></div><div><font size="1">M.Eng. Student @ Politecnico di Milano</font></div><div><span style="font-size:x-small">Computer Science and Engineering</span></div><div><br></div><div><br></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2016-03-30 15:40 GMT+02: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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Wed, Mar 30, 2016 at 02:45:01PM +0200, Federico Reghenzani wrote:<br>
&gt; Also, I think that ghost-file-3.img is suspicious because is too big:<br>
&gt; ~140MB for a process that consumes ~4MB of ram, and the application does<br>
&gt; nothing with shared memory (it only initializes the open mpi module). Also<br>
&gt; the /tmp/openmpi-sessions-root@roaster-vm3_0 directory has a size of only<br>
&gt; 256KB.<br>
<br>
</span>But the ghost file means a file that has been deleted, so you won&#39;t<br>
see it if you do du of that directory, and it won&#39;t be in the RAM of<br>
the container.<br>
<br>
Anyway, w.r.t. the core issue of not being able to open the ghost<br>
file, I have had users report this to me as well, but have not been<br>
able to reproduce it myself.<br>
<br>
Tycho<br>
<div><div class="h5"><br>
&gt; __<br>
&gt; Federico Reghenzani<br>
&gt; M.Eng. Student @ Politecnico di Milano<br>
&gt; Computer Science and Engineering<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 2016-03-30 14:33 GMT+02:00 Federico Reghenzani &lt;<br>
&gt; <a href="mailto:federico1.reghenzani@mail.polimi.it">federico1.reghenzani@mail.polimi.it</a>&gt;:<br>
&gt;<br>
&gt; &gt; Hi all!<br>
&gt; &gt;<br>
&gt; &gt; We have problem restoring Open MPI daemons with child processes that uses<br>
&gt; &gt; shared memory:<br>
&gt; &gt;<br>
&gt; &gt; (00.022447)    255: Opening ghost file 0x3 for<br>
&gt; &gt; tmp/openmpi-sessions-root@roaster-vm3_0<br>
&gt; &gt; /60995/1/shared_mem_pool.roaster-vm3.1<br>
&gt; &gt; (00.022479)    255: Error (files-reg.c:139): Can&#39;t open ghost file<br>
&gt; &gt; //tmp/openmpi-sessions-root@roaster-vm3_0/60995/1/shared_mem_pool.roaster-vm3.1.cr.3.ghost:<br>
&gt; &gt; No such file or directory<br>
&gt; &gt; (00.022558)  `- X [/dev/shm/open_mpi.0000.cr.1.ghost] ghost<br>
&gt; &gt; (00.022570)  `- X [/dev/shm/open_mpi.0001.cr.2.ghost] ghost<br>
&gt; &gt; (00.022586) Error (files-reg.c:445):  `- XFail<br>
&gt; &gt; [/tmp/openmpi-sessions-root@roaster-vm3_0/60995/1/shared_mem_pool.roaster-vm3.1.cr.3.ghost]<br>
&gt; &gt; ghost: No such file or directory<br>
&gt; &gt; (00.022595) Error (files-reg.c:445):  `- XFail<br>
&gt; &gt; [/tmp/openmpi-sessions-root@roaster-vm3_0/60995/1/shared_mem_btl_module.roaster-vm3.1.cr.4.ghost]<br>
&gt; &gt; ghost: No such file or directory<br>
&gt; &gt; (00.022613) Error (files-reg.c:445):  `- XFail<br>
&gt; &gt; [/dev/shm/open_mpi.0000.cr.5.ghost] ghost: No such file or directory<br>
&gt; &gt; (00.022622) Error (cr-restore.c:1995): Restoring FAILED.<br>
&gt; &gt;<br>
&gt; &gt; Full criu logs attached.<br>
&gt; &gt;<br>
&gt; &gt; We are migrating to another machine, in unshared context (CLONE_NEWPID |<br>
&gt; &gt; CLONE_NEWNS), CRIU version 1.8.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Any suggestions?<br>
&gt; &gt; Cheers,<br>
&gt; &gt; Federico<br>
&gt; &gt; __<br>
&gt; &gt; Federico Reghenzani<br>
&gt; &gt; M.Eng. Student @ Politecnico di Milano<br>
&gt; &gt; Computer Science and Engineering<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
<br>
</div></div>&gt; _______________________________________________<br>
&gt; CRIU mailing list<br>
&gt; <a href="mailto:CRIU@openvz.org">CRIU@openvz.org</a><br>
&gt; <a href="https://lists.openvz.org/mailman/listinfo/criu" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/criu</a><br>
<br>
</blockquote></div><br></div></div>