[CRIU] Issues with restoring multiple instances of the same source
Andrew Vagin
avagin at odin.com
Fri Sep 4 07:10:25 PDT 2015
On Thu, Sep 03, 2015 at 04:05:09PM -0700, Francisco Tolmasky wrote:
> So I have been tracking a bug in tonic (related to this logging issue, and
> general “breaking” of pipes/streams), and I have narrowed part of the
> problem to the fact that we restore multiple containers simultaneously from
> the same source run. We do this to have them “warm” and ready in case the
> user wants to go back to a previous checkpoint. So something along these
> lines happens:
>
> Program is running -> Checkpoint -> immediate restore IN PARALLEL to
> original program/restore from previous checkpoint IN PARALLEL as well.
>
> So, you can end up with up to 3 copies of the same program running.
Do all these copies use the same file system? If it's yes, you may meet
side affects. An applications doens't expects that someone else
will change its files while it's rinning.
More information about the CRIU
mailing list