Skip to content

guard: Attempt to kill server gracefully#4447

Open
kim wants to merge 1 commit intomasterfrom
kim/guard/ctrlc
Open

guard: Attempt to kill server gracefully#4447
kim wants to merge 1 commit intomasterfrom
kim/guard/ctrlc

Conversation

@kim
Copy link
Contributor

@kim kim commented Feb 25, 2026

Send it SIGINT / CTRL_BREAK_EVENT, which standalone handles. Wait a bit. Send it SIGKILL.

This gives the server a chance to run finalizers. We aren't well equipped to deal with sudden death currently.

Send it SIGINT / CTRL_BREAK_EVENT, which standalone handles.
Wait a bit.
Send it SIGKILL.
@kim kim requested a review from cloutiertyler February 25, 2026 17:34
@kim kim marked this pull request as ready for review February 25, 2026 17:34
@kim kim requested a review from bfops February 25, 2026 17:34
@bfops
Copy link
Collaborator

bfops commented Feb 25, 2026

What's the impact of this? I kind of assumed that the restart tests were partly trying to test what happens if the server dies un-gracefully.

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