<div dir="ltr">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:<div><br></div><div><a href="https://github.com/boucher/docker/releases/tag/v1.9.0-experimental-cr.1">https://github.com/boucher/docker/releases/tag/v1.9.0-experimental-cr.1</a><br></div><div><br></div><div>And a lot more info in Saied's blog post:</div><div><br></div><div><a href="http://blog.kubernetes.io/2015/07/how-did-quake-demo-from-dockercon-work.html">http://blog.kubernetes.io/2015/07/how-did-quake-demo-from-dockercon-work.html</a><br></div><div><br></div><div>For multiple copies specifically, you'll want to use the --force-restore option in my docker binary. </div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 3, 2015 at 10:14 PM Gabriel Southern <<a href="mailto:southerngs@gmail.com">southerngs@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.<div><br></div><div>I looked on the mailing list and found a past discussion about this:</div><div><br></div><div>-----------</div><div><div><a href="https://lists.openvz.org/pipermail/criu/2015-January/018554.html" target="_blank">https://lists.openvz.org/pipermail/criu/2015-January/018554.html</a><br></div><div><br></div><div><div>I might use the feature for restoring multiple copies of the same process. I</div><div>don't really have a good reason for not using a namespace to begin with--just</div><div>a little paranoia about it affecting performance and the probably unused</div><div>opportunity to reuse existing checkpoints. The following is what I settled on</div><div>for no namespace when dumping, but using a namespace on restore.</div></div><div>-----------<br></div></div><div><br></div><div>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. </div><div><br></div><div>Thanks,</div><div><br></div><div>-Gabriel</div></div>
_______________________________________________<br>
CRIU mailing list<br>
<a href="mailto:CRIU@openvz.org" target="_blank">CRIU@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/criu" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/criu</a><br>
</blockquote></div>