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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum