[CRIU] Error CRIU restore because pid not matched
Aris Setyawan
aris.sety at gmail.com
Fri Oct 24 09:08:02 PDT 2014
> This means, that pid 1813, with which the restored task wants to live,
> is already busy.
Is this mean, that pid already used by another process?
> This option was obsoleted some time ago, sorry. Now CRIU detects
> and creates the namespaces itself.
I have read the code, and it will "always" raise error, if mismatch
happened.
How to prevent this?
So it can't be fixed?
On Fri, Oct 24, 2014 at 11:03 PM, Pavel Emelyanov <xemul at parallels.com>
wrote:
> On 10/24/2014 07:58 PM, Aris Setyawan wrote:
> > Hi,
> >
> > I have try to use CRIU in my current project.
> > I have problem when restoring a process.
> > This is the error message:
> >
> > (00.009867) Error (cr-restore.c:1390): Pid 1814 do not match expected
> 1813
>
> This means, that pid 1813, with which the restored task wants to live,
> is already busy.
>
> > (00.010384) Error (cr-restore.c:1161): 1814 exited, status=1
> > (00.010405) Error (cr-restore.c:1780): Restoring FAILED.
> >
> > Can I just use NEW PID?
> >
> > I have try to use "--namespace pid" option, but it have no effect.
> > http://criu.org/Advanced_usage#Knowing_a_new_pid_of_restored_task
>
> This option was obsoleted some time ago, sorry. Now CRIU detects
> and creates the namespaces itself.
>
> Thanks,
> Pavel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20141024/3b01a38e/attachment.html>
More information about the CRIU
mailing list