[CRIU] Dump LXC with error

陈晓 chenxiao_study at 126.com
Mon Apr 13 06:30:37 PDT 2015


yes, the command is: criu dump --tree 2349 --tcp-established --file-locks --link-remap --force-irmap --manage-cgroups --images-dir dump/ -o /tmp/dump.log -v4
At 2015-04-13 21:26:30, "Pavel Emelyanov" <xemul at parallels.com> wrote:
>On 04/13/2015 03:32 PM, 陈晓 wrote:
>> 
>> Hi,Pavel Emelyanov:
>> *    When I dump lxc whith criu, some error happen? The error message is as follows:*
>
>Do you use criu or lxc tools for that?
>
>>    *(09.446495) Dumping path for 48 fd via self 132 [/home/ubuntu/jdk1.8.0_40/jre/lib/ext/sunjce_provider.jar]*
>> *(09.446503) fdinfo: type: 0x 1 flags: 0100000/01 pos: 0x   369ea fd: 48*
>> *(09.446517) 18490 fdinfo 49: pos: 0x               0 flags:                2/0*
>> *(09.446526) Searching for socket 16972c (family 10)*
>> *(09.446535) Error (sk-inet.c:134): In-flight connection (l) for 16972c*
>
>That's the reason -- there's an half-opened TCP connection. We cannot C/R such
>things right now. You can wait for a while and try to checkpoint the container
>again.
>
>-- Pavel
>
>> *(09.446549) ----------------------------------------*
>> *(09.446555) Error (cr-dump.c:1616): Dump files (pid: 18490) failed with -1*
>> *(09.446573) Waiting for 18490 to trap*
>> *(09.446585) Daemon 18490 exited trapping*
>> *(09.446598) Sent msg to daemon 6 0 0*
>> *pie: __fetched msg: 6 0 0*
>> *pie: 1746: new_sp=0x7f320fff7008 ip 0x7f3245688669*
>> *(09.446680) 18490 was trapped*
>> *(09.446695) `- Expecting exit*
>> *(09.446713) 18490 was trapped*
>> *(09.446721) 18490 is going to execute the syscall f*
>> *(09.446741) 18490 was stopped*
>> *(09.446766) 18490 was trapped*
>> *(09.446776) 18490 is going to execute the syscall 1*
>> *(09.446790) 18490 was trapped*
>> *(09.446795) `- Expecting exit*
>> *(09.446806) 18490 was trapped*
>> *(09.446812) 18490 is going to execute the syscall b*
>> *(09.446837) 18490 was stopped*
>> *(09.447060) Unlock network*
>> *(09.447130) Running network-unlock scripts*
>> *(09.447140) Unfreezing tasks into 1*
>> *(09.447146) Unseizing 16604 into 1*
>> *(09.447157) Unseizing 17071 into 1*
>> *(09.447167) Unseizing 17151 into 1*
>> *(09.447177) Unseizing 17311 into 1*
>> *(09.447203) Unseizing 17353 into 1*
>> *(09.447214) Unseizing 17365 into 1*
>> *(09.447230) Unseizing 17511 into 1*
>> *(09.447244) Unseizing 17720 into 1*
>> *(09.447260) Unseizing 18367 into 1*
>> *(09.447270) Unseizing 18390 into 1*
>> *(09.447279) Unseizing 18391 into 1*
>> *(09.447289) Unseizing 17742 into 1*
>> *(09.447302) Unseizing 17734 into 1*
>> *(09.447311) Unseizing 17893 into 1*
>> *(09.447321) Unseizing 17899 into 1*
>> *(09.447471) Unseizing 17901 into 1*
>> *(09.447561) Unseizing 18323 into 1*
>> *(09.447575) Unseizing 18330 into 1*
>> *(09.447584) Unseizing 18490 into 1*
>> *(09.448128) Unseizing 18893 into 1*
>> *(09.448331) Unseizing 18895 into 1*
>> *(09.448487) Unseizing 18897 into 1*
>> *(09.448617) Unseizing 18901 into 1*
>> *(09.448640) Unseizing 18903 into 1*
>> *(09.448740) Error (cr-dump.c:1979): Dumping FAILED.*
>> Thank you! I am looking forward to your reply!
>>     Carl
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> CRIU mailing list
>> CRIU at openvz.org
>> https://lists.openvz.org/mailman/listinfo/criu
>> 
>



More information about the CRIU mailing list