[CRIU] Unable to send/recv msg to/from CRIU: Connection reset by peer

Pavel Emelyanov xemul at parallels.com
Thu Dec 11 00:14:00 PST 2014


On 12/10/2014 07:13 PM, Paschalis Mpeis wrote:
> There is no restore.log in  wdir/i/<app-name/1 directory.

It will be in wdir/i/$name/2/ directory, but since the issue
is already resolved we no longer need this file :)

> And it is specified on the code using: 
> `criu_set_log_file("restore.log");`
> 
> Also, is there an explanation of the directories created by criu?

CRIU doesn't create directories by itself, it only works in
those provided by the --images-dir and --work-dir options.

> I can tell some things by the files, but I would feel more confident reading these from a documentation.
> 
> Cheers,
> Paschalis
> 
> 
> 
> On Wed Dec 10 2014 at 3:55:49 PM Pavel Emelyanov <xemul at parallels.com <mailto:xemul at parallels.com>> wrote:
> 
>     On 12/10/2014 04:02 PM, Paschalis Mpeis wrote:
>     > Hi all,
>     >
>     > I 've been struggling with this problem for some time.
>     >
>     >
>     > *This is what I get when I execute the test_iters.c test (located in tests/libcriu) with sudo:*
>     >
>     >     --- Start loop ---
>     >        `- loop: initializing
>     >     --- Dump loop ---
>     >        `- 1 iter over
>     >        `- Dump succeeded
>     >     --- Restore loop ---
>     >     Can't read response: Connection reset by peer
>     >     Can't receive response: Connection reset by peer
>     >     Unable to send/recv msg to/from CRIU: Connection reset by peer
>     >     test_iters: FAIL
>     >     == Stopping service
>     >     FAIL
>     >
>     >
>     > *Here is the wdir/i/<app-name/dump.log:*
> 
>     But what fails is the restore. Can you show the restore.log file contents?
> 
>     Thanks,
>     Pavel
> 
> 
> 
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
> 
> 
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
> 



More information about the CRIU mailing list