1
1
openmpi/orte/mca/ess
Ralph Castain 27a73ad9ee Fix a race condition between the orteds and HNP that can cause the orteds to output the "lost lifeline" message.
This has been a long-time problem. I tried to reduce the problem by having the orteds tell the HNP they were finalizing, and having the HNP wait until all orteds had reported or we timed out.

What was observed was that all the orteds were correctly reporting that they are leaving, but the HNP is able to exit before the orteds, thus closing the orteds lifeline socket and generating the error output. This is caused by the fact that the orteds have to whack all remaining session directories, which includes that blasted monster shared memory file! Cleaning up the SM file can take quite a while.

The HNP doesn't have that problem as there is no SM file there! So it gets out first.

What we had done in the past to resolve that problem was put a little test in the OOB that checks to see if we are finalizing. If we are, then we ignore the lifeline connection being lost. That check was still in the code - however, we had lost the line in orte_finalize that set the flag!!

This commit was SVN r17893.
2008-03-20 13:30:51 +00:00
..
alps This commit fixes the checkpoint/restart functionality on the trunk. Included in this commit are: 2008-03-05 04:57:23 +00:00
base Fix a race condition between the orteds and HNP that can cause the orteds to output the "lost lifeline" message. 2008-03-20 13:30:51 +00:00
cnos This commit fixes the checkpoint/restart functionality on the trunk. Included in this commit are: 2008-03-05 04:57:23 +00:00
env These functions should only be compiled when OPAL_ENABLE_FT == 1. 2008-03-05 05:57:13 +00:00
hnp This commit fixes the checkpoint/restart functionality on the trunk. Included in this commit are: 2008-03-05 04:57:23 +00:00
lsf This commit fixes the checkpoint/restart functionality on the trunk. Included in this commit are: 2008-03-05 04:57:23 +00:00
portals_utcp This commit fixes the checkpoint/restart functionality on the trunk. Included in this commit are: 2008-03-05 04:57:23 +00:00
singleton This commit fixes the checkpoint/restart functionality on the trunk. Included in this commit are: 2008-03-05 04:57:23 +00:00
slurm This commit fixes the checkpoint/restart functionality on the trunk. Included in this commit are: 2008-03-05 04:57:23 +00:00
tool This commit fixes the checkpoint/restart functionality on the trunk. Included in this commit are: 2008-03-05 04:57:23 +00:00
configure.m4 Merge the ORTE devel branch into the main trunk. Details of what this means will be circulated separately. 2008-02-28 01:57:57 +00:00
ess.h This commit fixes the checkpoint/restart functionality on the trunk. Included in this commit are: 2008-03-05 04:57:23 +00:00
Makefile.am Merge the ORTE devel branch into the main trunk. Details of what this means will be circulated separately. 2008-02-28 01:57:57 +00:00