Skip to content

Restore with different PID #2811

@markasoftware-tc

Description

@markasoftware-tc

There are lots of pain points when restoring with the original PID -- you have to choose between risking a PID collision, or the extra complexity of a PID namespace. In our application, we are always checkpointing and restoring a single process (no children), so it would be ideal to restore with an arbitrary new PID, chosen by the kernel (/proc/sys/kernel/ns_last_pid + 1).

I'm potentially willing to contribute a new option myself, but before I dig further, are there any other issues I should expect restoring into a different PID (other than parent/child relations)?

EDIT: Found this suggesting GLIBC will not respond well to a PID change https://lists.openvz.org/pipermail/criu/2014-December/018498.html does that sound right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions