[CRIU] phual - restore failed

赖涛 laitao at pku.edu.cn
Tue Oct 18 19:49:04 PDT 2016


oh,i know the reason that occur this problem. i try to use the phaul-client and phaul-service script in the same machine, so when the criu do  restore task,  the pid seems to be repeat and then go wrong
now i try to do the immigrate within two machine ,and it success
thanks for you help!

At2016-10-12 15:54:07,赖涛<1501210929 at pku.edu.cn>wrote:
> On 10/10/2016 04:36 AM, 赖涛 wrote:
> > i use the p.haul-wrap script to run p.hual, the command is below:
> > 
> > ./p.haul-wrap service  --bind-port 8084  --bind-addr "127.0.0.1"  --path ./p.haul-service
> > 
> > ./p.haul-wrap client "127.0.0.1"  --port 8084  --path ./p.haul --img-path /usr/phaul-img pid 6659  --keep-image --shell-job
> 
> OK, so you try to migrate an individual pid. In this case the pid
> you're moving might be busy on the destination host. And the message
> in restore logs we see says exactly about this.
> 
> > At2016-09-30 18:01:57,赖涛<1501210929 at pku.edu.cn>wrote:
> >> On 09/28/2016 09:33 AM, 赖涛 wrote:
> >>> when i use the phaul,the dump is success,but restore is fail:
> >>
> >> How do you run p.haul?
> >>
> >>> this is the restore log:
> >>> (00.001408) Error (cr-restore.c:1623): Pid 14009 do not match expected 14008
> >>
> >> https://criu.org/When_C/R_fails#PID_mismatch_on_restore
> >>
> >>> (00.016690) Error (cr-restore.c:1384): 14009 exited, status=1
> >>> (00.016762) Error (cr-restore.c:2226): Restoring FAILED.
> >>>
> >>>
> >>> _______________________________________________
> >>> CRIU mailing list
> >>> CRIU at openvz.org
> >>> https://lists.openvz.org/mailman/listinfo/criu
> >>>
> >>
> > 
> 




More information about the CRIU mailing list