[CRIU] crtools error checkpoint/restore error ("Unable to open pstree.img")

Kevin Wilson wkevils at gmail.com
Tue Mar 26 14:07:24 EDT 2013


Hi,
Good news: checkpoint of sshd now works!

What I did is, after reboot, try the **same** checkpoint
command. And no error was mentioned, also dump.log
did not show errors.
The difference was that I issued the command from the
terminal itself. In previous experiments, I issued the command
from a different machine, from which I was connected by "ssh"
to the machine on which I ran crtools checkpoint. It could be
that even so this should have worked; I will try also with other processes.

Restore does not work (I try it from the same terminal).
I get this error:

00.004341)    803: Error (sk-unix.c:833): FATAL: Peer 0x3c10 unresolved for 0x3
c0f
(00.022538) Error (cr-restore.c:902): 803 exited, status=255
(00.022648) Error (cr-restore.c:1209): Someone can't be restored

Best,
Kevin



On Tue, Mar 26, 2013 at 7:48 PM, Pavel Emelyanov <xemul at parallels.com> wrote:
> On 03/26/2013 09:42 PM, Kevin Wilson wrote:
>> Hello,
>> Strangely, there is no /proc/940.
>>
>> Maybe this process was killed ?
>
> They may be constantly forking and sying. If this is true, then we'll have
> to optimize the collect_pstree() function (if you could help with it, that
> would be awesome) as it currently have known issues with such fork-ers.
>
>> I will try again this test from scratch, after rebooting,
>> and dumping before all entries under /proc to see
>> whether it was killed by checkpointing.
>
> OK, thanks.
>
>> Best,
>> Kevin


More information about the CRIU mailing list