[CRIU] Restoring multiple copies of the same process
Ross Boucher
rboucher at gmail.com
Thu Dec 3 19:29:57 PST 2015
I'm restoring multiple copies of the same application simultaneously, and
to do it I'm running CRIU inside of Docker. You can find my experimental
docker binary with support here:
https://github.com/boucher/docker/releases/tag/v1.9.0-experimental-cr.1
And a lot more info in Saied's blog post:
http://blog.kubernetes.io/2015/07/how-did-quake-demo-from-dockercon-work.html
For multiple copies specifically, you'll want to use the --force-restore
option in my docker binary.
On Thu, Dec 3, 2015 at 10:14 PM Gabriel Southern <southerngs at gmail.com>
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.
>
> Thanks,
>
> -Gabriel
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20151204/8ad7ac98/attachment.html>
More information about the CRIU
mailing list