Skip to content

Fix for gracefully_kill_them_all() which broke setups using fifo-based master graceful reload - #2743

Merged
xrmx merged 1 commit into
unbit:masterfrom
xrmx:forward-port-2740
Oct 11, 2025
Merged

xrmx merged 1 commit into
unbit:masterfrom
xrmx:forward-port-2740

Conversation

@xrmx

@xrmx xrmx commented Oct 11, 2025

Copy link
Copy Markdown
Collaborator

Instead of doing a blocking waitpid call, use WNOHANG calls to avoid breaking existing child process signal handling which was part of the master fork/exit cleanup that allowed FIFO-based zero downtime reloads to happen. This will also allow the fix to continue on as this code will block until all the workers have exited.

…d master graceful reload

Instead of doing a blocking waitpid call, use WNOHANG calls to avoid
breaking existing child process signal handling which was part of the
master fork/exit cleanup that allowed FIFO-based zero downtime reloads
to happen. This will also allow the fix to continue on as this code
will block until all the workers have exited.
@xrmx
xrmx merged commit 8d116f7 into unbit:master Oct 11, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants