Hello,

I'm curious if something like CRIU [1] would work for you? It also has integration with several container runtimes, like lxc [2], docker [3] or podman [4].

I'm not a CRIU developer, but rather interested in different use cases for C/R solutions.

1. https://criu.org/Main_Page
2. https://linuxcontainers.org/
3. https://www.docker.com/
4. https://podman.io/

On 16/01/2020 20:59, Andrew Lynch wrote:
Hi Folks,

  We are checkpointing very large processes that use more than half the available memory on our hosts.  We utilize vfork/exec to launch small processes.  Vfork is mapped to fork in execwrappers.cpp:

extern "C" pid_t vfork()

{

JTRACE("vfork wrapper calling fork");

// This might not preserve the full semantics of vfork.

// Used for checkpointing gdb.

return fork();

}

Fork checks for available memory to duplicate the process and fails if not enough memory exists (even though the required memory for the new process is very small).  Is there a way to use vfork?  Has anyone tried removing this mapping?

Regards,

    Drew

http://www.cadence.com/mail/footer_logocdns2.jpg

                

Cadence Cares <http://fortune.com/best-companies/cadence-52/>

*Andrew T. Lynch***|   Software Architect

T: 408.914.6875   M: 408.832.1045 www.cadence.com <http://www.cadence.com/>



_______________________________________________
Dmtcp-forum mailing list
Dmtcp-forum@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum


--
Regards,
Maksym Planeta


_______________________________________________
Dmtcp-forum mailing list
Dmtcp-forum@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum

Reply via email to