<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'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"><<a href="mailto:tycho.andersen@canonical.com" target="_blank">tycho.andersen@canonical.com</a>></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>
> Also, I think that ghost-file-3.img is suspicious because is too big:<br>
> ~140MB for a process that consumes ~4MB of ram, and the application does<br>
> nothing with shared memory (it only initializes the open mpi module). Also<br>
> the /tmp/openmpi-sessions-root@roaster-vm3_0 directory has a size of only<br>
> 256KB.<br>
<br>
</span>But the ghost file means a file that has been deleted, so you won't<br>
see it if you do du of that directory, and it won'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>
> __<br>
> Federico Reghenzani<br>
> M.Eng. Student @ Politecnico di Milano<br>
> Computer Science and Engineering<br>
><br>
><br>
><br>
> 2016-03-30 14:33 GMT+02:00 Federico Reghenzani <<br>
> <a href="mailto:federico1.reghenzani@mail.polimi.it">federico1.reghenzani@mail.polimi.it</a>>:<br>
><br>
> > Hi all!<br>
> ><br>
> > We have problem restoring Open MPI daemons with child processes that uses<br>
> > shared memory:<br>
> ><br>
> > (00.022447) 255: Opening ghost file 0x3 for<br>
> > tmp/openmpi-sessions-root@roaster-vm3_0<br>
> > /60995/1/shared_mem_pool.roaster-vm3.1<br>
> > (00.022479) 255: Error (files-reg.c:139): Can't open ghost file<br>
> > //tmp/openmpi-sessions-root@roaster-vm3_0/60995/1/shared_mem_pool.roaster-vm3.1.cr.3.ghost:<br>
> > No such file or directory<br>
> > (00.022558) `- X [/dev/shm/open_mpi.0000.cr.1.ghost] ghost<br>
> > (00.022570) `- X [/dev/shm/open_mpi.0001.cr.2.ghost] ghost<br>
> > (00.022586) Error (files-reg.c:445): `- XFail<br>
> > [/tmp/openmpi-sessions-root@roaster-vm3_0/60995/1/shared_mem_pool.roaster-vm3.1.cr.3.ghost]<br>
> > ghost: No such file or directory<br>
> > (00.022595) Error (files-reg.c:445): `- XFail<br>
> > [/tmp/openmpi-sessions-root@roaster-vm3_0/60995/1/shared_mem_btl_module.roaster-vm3.1.cr.4.ghost]<br>
> > ghost: No such file or directory<br>
> > (00.022613) Error (files-reg.c:445): `- XFail<br>
> > [/dev/shm/open_mpi.0000.cr.5.ghost] ghost: No such file or directory<br>
> > (00.022622) Error (cr-restore.c:1995): Restoring FAILED.<br>
> ><br>
> > Full criu logs attached.<br>
> ><br>
> > We are migrating to another machine, in unshared context (CLONE_NEWPID |<br>
> > CLONE_NEWNS), CRIU version 1.8.<br>
> ><br>
> ><br>
> ><br>
> > Any suggestions?<br>
> > Cheers,<br>
> > Federico<br>
> > __<br>
> > Federico Reghenzani<br>
> > M.Eng. Student @ Politecnico di Milano<br>
> > Computer Science and Engineering<br>
> ><br>
> ><br>
> ><br>
> ><br>
<br>
</div></div>> _______________________________________________<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>
</blockquote></div><br></div></div>