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

Pavel Emelyanov xemul at parallels.com
Tue Mar 26 13:03:21 EDT 2013


On 03/26/2013 08:44 PM, Kevin Wilson wrote:
> Hi,
> Tried it with -x.
> in dump.log, this is the (first) error I get:
> 
> Error (ptrace.c:75): Unseizeable non-zombie 527 found, state R
> This error appears several times in the log.

This means, that ptrace cannot attach to the process. Do you run crtools as root?

And there's actually a bug in there, thanks! I'll fix that up.

> And there is another error:
> 
> (00.112477) Error (sk-inet.c:136): Connected TCP socket, consider
> using tcp-established option.

Dumping and restoring alive TCP connection is quite tricky. You can use the
proposed --tcp-established option, to state, that you do understand how it works
and what you should do between dump and restore and let crtools dump and restore
the TCP connection for you.

> Attached here is dump.log
> 
> Best,
> Kevin
> 
> On Tue, Mar 26, 2013 at 11:04 AM, Cyrill Gorcunov <gorcunov at openvz.org> wrote:
>> On Tue, Mar 26, 2013 at 10:47:25AM +0200, Kevin Wilson wrote:
>>> (00.001575) Lock network
>>> (00.001699) lockinfo: 6:POSIX ADVISORY WRITE 473 00:12:11656 0 EOF
>>> (00.001745) Error (cr-dump.c:1055): Some file locks are hold by dumping tasks!Yo
>>> u can try -l to dump them.: No such file or directory
>>> (00.001786) Unlock network
>>> (00.001803) Unfreezing tasks into 1
>>> (00.001813)   Unseizeing 473 into 1
>>>
>>> 3) I also added "-l" as suggested in the error message.
>>> Now the dump file is too big to be inlined in this message; I am
>>> attaching it to this mail.
>>>
>>
>> There is /dev/log external socket found. Try to checkpoint with additional
>> "-x" option.




More information about the CRIU mailing list