[CRIU] Live migration failure with mistmatch sid/pgid
Pavel Emelyanov
xemul at parallels.com
Thu Feb 19 11:13:18 PST 2015
On 02/19/2015 10:03 PM, Nam Ninh wrote:
> Please find attached restore.log when I run
> criu restore -d --images-dir /tmp/images -o restore.log
>
> The content of pstree.img shows:
>
> root at 128:~# criu show -f /tmp/images/pstree.img
> pid: 1251 ppid: 0 pgid: 1251 sid: 950 threads: 1251
> pid: 1290 ppid: 1251 pgid: 1251 sid: 950 threads: 1290
>
OK. How did you dump this tree? Did you use the -j/--shell-job option?
>
>
> On Thu, Feb 19, 2015 at 12:44 PM, Pavel Emelyanov <xemul at parallels.com <mailto:xemul at parallels.com>> wrote:
>
> On 02/19/2015 05:45 PM, Nam Ninh wrote:
> > Hi,
> >
> > I follow the instructions at this link to do the live migration of Single Loop application
> > http://criu.org/Live_migration
> >
> > and get the following error when I try to restore on a destination target:
>
> Can you show the contents of the pstree.img file? With the criu show -f pstree.img command.
>
> > root at 128:~# criu restore -d --images-dir /tmp/images
> > 1545: Error (cr-restore.c:1258): Requested sid 965 doesn't match inherited 1260
> > 1378: Error (cr-restore.c:1185): 1545 exited, status=1
>
> And, if possible, the full restore.log file.
>
> > When I apply this patch, the migration works fine:
> > https://lists.openvz.org/pipermail/criu/2012-April/002291.html
> >
> > I am using CRIU version 1.4 and kernel 3.14. Would you please tell me if I miss anything?
> >
> > Thanks,
> > Nam
> >
> >
> >
> > _______________________________________________
> > CRIU mailing list
> > CRIU at openvz.org <mailto:CRIU at openvz.org>
> > https://lists.openvz.org/mailman/listinfo/criu
> >
>
>
More information about the CRIU
mailing list