Created attachment 3003 [details] [PATCH] Separate health check from shutdown check While deploying the patch discussed here (https://bugs.schedmd.com/show_bug.cgi?id=2504) we had an issue. Slurmd shutdown while waiting for nhc could be delayed up to 10 seconds, this was causing isssues during runlevel changes with sysvrc (it was also a bit annoying). The attached patch removes this delay by checking if there is a shutdown requested every 10ms. A similar patch against 15.08 was deployed in production, this has been tested on a small test 16.05 git install. Thanks again for including the previous patch.
Thank you for your contribution. Your patch is committed here: https://github.com/SchedMD/slurm/commit/988edf1227855e4c578476be3d431a144b1b628f