SchedMD/slurm — pull request #19 by grondo (2012-07-13 16:19:33+00:00)
Title: Slurm 2.4 minor fixes

This small series of patches contains some minor fixes we've been
carrying in the Livermore version of slurm-2.3.3. I will also generate
a pull request on github, but some of these patches, especially the
squeue one, may require a little discussion so I'm also sending them
to the list. The fixes are all on top of schedmd/slurm-2.4.

These patches address 3 minor issues:

Issue 1: squeue doesn't display number of completing nodes for completing
jobs, instead the number of requested nodes is displayed (this has probably
been broken since slurm-2.1?)

[1/5] squeue: report number of nodes in completing for completing jobs

Issue 2: slurmstepd runs out of file descriptors when executing 128 or
more tasks per node, then leaves stray processes running:

[2/5] slurmstepd: Close childfd of exec_wait_info in parent
[3/5] slurmstepd: Kill remaining children if fork fails
[4/5] slurmstepd: don't call exec if task fails to get notification from paren

Issue 3: Another potential deadlock when invoking spank prolog/epilog.
This one was seen specifically when replacing glibc malloc with google's
tcmalloc:

[5/5] slurmd: set SLURM_CONF in prolog/epilog environment