[CRIU] Restoring multiple copies of the same process

Gabriel Southern southerngs at gmail.com
Tue Dec 8 10:43:46 PST 2015


Thanks I'll be interested to try it when it is ready.  In the meantime I'm
also looking at the C/R functionality that Ross mentioned is available with
Docker.

-Gabriel

On Fri, Dec 4, 2015 at 4:40 AM, Pavel Emelyanov <xemul at parallels.com> wrote:

> On 12/04/2015 06:08 AM, Gabriel Southern wrote:
> > Is there a way to restore multiple copies of the same process tree?  My
> initial naive attempt of just running restore twice for the same checkpoint
> led to an error saying that the PIDs did not match expected value.
> >
> > I looked on the mailing list and found a past discussion about this:
> >
> > -----------
> > https://lists.openvz.org/pipermail/criu/2015-January/018554.html
> >
> > I might use the feature for restoring multiple copies of the same
> process. I
> > don't really have a good reason for not using a namespace to begin
> with--just
> > a little paranoia about it affecting performance and the probably unused
> > opportunity to reuse existing checkpoints. The following is what I
> settled on
> > for no namespace when dumping, but using a namespace on restore.
> > -----------
> >
> > But this is from nearly a year ago so I'm curious if there is any
> updates, suggestions, or possible issues
> > with trying to restore and run multiple copies of the same application
> simultaneously.  Any advice is appreciated.
>
> Well, I have a raw patch doing restore of the tree into a fresh new set
> of namespaces that I plan to get back to after 1.8 to support unprivileged
> dump and restore. I'll try to rebase it onto master and post on the mailing
> list early next week :)
>
> -- Pavel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20151208/23e52eef/attachment-0001.html>


More information about the CRIU mailing list