mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-09-05 04:27:55 +00:00
f23745d18b
A kill only asks the kernel to end a process, so it returns before the process is gone. The fallback started a new daemon on the next line, which could find the port still held by the old one, fail to start, and leave the node with no daemon at all. Wait for the processes to end, for up to ten seconds, before the new daemon starts. The test that a process is still there sends no signal.