[CRIU] criu_restore() in Open MPI problems

Cyrill Gorcunov gorcunov at gmail.com
Wed Mar 19 01:33:11 PDT 2014


On Wed, Mar 19, 2014 at 12:25:07PM +0400, Cyrill Gorcunov wrote:
> On Wed, Mar 19, 2014 at 12:19:44PM +0400, Andrew Vagin wrote:
> > > 
> > > Heh ;-) Could you please show ls -l /proc/<pid>/fd where <pid> is the pid of a process
> > > you're dumping (and also try dump with -v4 --shell-job and show complete dump log).
> > 
> > Steps to reproduce:
> > sleep 1000 &> /dev/null < /dev/null &
> > ./criu dump -t $! -D tmp --shell-job
> > ./criu restore -D tmp -o r.log --shell-job < /dev/null &> /dev/null
> > 
> > shell-job tries to find a current terminal even if it is not required
> > for restore.
> 
> I see. Thanks Andrew. I'll take a look once finish with other bug.

As discussed face to face indeed it might worth to simply ignore non-tty
stdin/out/err in such case and try to continue restoring.

	Cyrill


More information about the CRIU mailing list