[CRIU] Live migration failure with mistmatch sid/pgid
Pavel Emelyanov
xemul at parallels.com
Thu Feb 19 11:35:17 PST 2015
On 02/19/2015 10:25 PM, Nam Ninh wrote:
> On Thu, Feb 19, 2015 at 2:13 PM, Pavel Emelyanov <xemul at parallels.com <mailto:xemul at parallels.com>> wrote:
>
> 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?
>
>
> I dumped using this command:
> criu dump -t 1251 --images-dir /tmp/images --shell-job --leave-stopped
Ah, I see. The -j option should be used on both stages -- dump and restore. Add one
to your restore command, it should fix the sid mismatch issue.
More information about the CRIU
mailing list