[CRIU] failure dumping nginx in docker container

Ross Boucher rboucher at gmail.com
Tue Jun 23 15:42:20 PDT 2015


If I run strace on the docker daemon, criu fails to restore with a
different error:

https://gist.github.com/boucher/bef6e944ae700526a979
(I included both the restore log and the strace)

Without strace, I get the same fd already in use error.


On Fri, Jun 19, 2015 at 6:00 AM, Pavel Emelyanov <xemul at parallels.com>
wrote:

> On 06/19/2015 01:57 AM, Ross Boucher wrote:
> > I made some further progress trying to checkpoint/restore nginx in
> docker. I set things up in the 3.19 kernel and was able to successfully
> checkpoint the container. Restore failed with this log:
> >
> > https://gist.github.com/boucher/fa016de5d142988abe3a
> >
> > Any idea what's going on here?
>
> (00.032159) 1: File pipe:[44496] will be restored from fd 9 duped from
> inherit fd 8
> (00.032160) 1: Error (util.c:131): fd 5 already in use (called at
> files.c:872)
>
> The fd 5 was occupied at the restore time. The easiest way to resolve this
> is to strace
> restoring process (with -f and -s 256 keys) then checking the log where
> the 5th descriptor
> appeared from.
>
> -- Pavel
>
> >
> > On Thu, Jun 4, 2015 at 2:18 PM, Pavel Emelyanov <xemul at parallels.com
> <mailto:xemul at parallels.com>> wrote:
> >
> >     On 06/05/2015 12:14 AM, Saied Kazemi wrote:
> >     > Thanks for the explanation.  From your explanation, I assume that
> back porting Al Viro's patch
> >     > to 3.18 is not an option.  Correct?
> >
> >     _Only_ Al's patch -- yes, it wouldn't help. Back-porting both
> patches -- Al's and
> >     mine -- will make things work.
> >
> >     -- Pavel
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150623/b5273301/attachment.html>


More information about the CRIU mailing list