1
1
openmpi/orte/mca/odls
Joshua Hursey 0e8a97c598 Fix the sigkill timeout sleep to prevent SIGCHLD from preventing completion.
* The user can set `-mca odls_base_sigkill_timeout 30` to have ORTE wait
   30 seconds before sending SIGTERM then another 30 seconds before sending
   SIGKILL to remaining processes. This usually happens on an abnormal
   termination. Sometimes the user wants to delay the cleanup to give the
   system time to write out corefile or run other diagnostics.
 * The problem is that child processes may be completing while ORTE is
   in this loop. The SIGCHLD will interrupt the `sleep` system call.
   Without the loop the sleep could effectively be ignored in this case.
   - Sleep returns the amount of time remaining to sleep. If it was
     interrupted by a signal then it is a positive number less than or
     equal to the parameter passed to it. If it slept the whole time
     then it returns 0.

Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
2019-10-02 14:41:34 -04:00
..
alps Adding changes for issue #6303 for branch master. 2019-01-26 10:49:47 -05:00
base Fix the sigkill timeout sleep to prevent SIGCHLD from preventing completion. 2019-10-02 14:41:34 -04:00
default Adding changes for issue #6303 for branch master. 2019-01-26 10:49:47 -05:00
pspawn Adding changes for issue #6303 for branch master. 2019-01-26 10:49:47 -05:00
Makefile.am Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
odls_types.h Add topology support for hetero systems 2019-02-08 11:11:25 -08:00
odls.h Refactor the ORTE DVM code so that external codes can submit multiple jobs using only a single connection to the HNP. 2016-02-13 08:10:44 -08:00