[CRIU] Error CRIU restore because pid not matched

Pavel Emelyanov xemul at parallels.com
Fri Oct 24 09:03:39 PDT 2014


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



More information about the CRIU mailing list