Closed martbhell closed 6 years ago
https://slurm.schedmd.com/SLUG17/Roadmap.pdf says to use SIGUSR2 instead of HUP. This only works with SLURM 17.11.
HUP runs a reconfigure which can cause performance issues.
Additionally, before this commit the kill command was:
/bin/kill -HUP cat /var/run/slurmctld.pid 2>/dev/null 2> /dev/null || true
Running that command directly does not seem to work (and errors are hidden by the stdout/stderr redirections):
kill: cannot find process "cat" kill: cannot find process "/var/run/slurmctld.pid"
So put the cat inside a $()
https://slurm.schedmd.com/SLUG17/Roadmap.pdf says to use SIGUSR2 instead of HUP. This only works with SLURM 17.11.
HUP runs a reconfigure which can cause performance issues.
Additionally, before this commit the kill command was:
Running that command directly does not seem to work (and errors are hidden by the stdout/stderr redirections):
So put the cat inside a $()