Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shut down usage tracking harder #3392

Merged
merged 2 commits into from Apr 23, 2024
Merged

Shut down usage tracking harder #3392

merged 2 commits into from Apr 23, 2024

Conversation

benclifford
Copy link
Collaborator

This invokes .close() on usage tracking, which releases two fds per sub-process (so 4 for each usage-tracked DFK = 2 x {start, stop}) more immediately.

This PR reworks logging around shutdown to emphasise that something is wrong if SIGKILL is needed, and to add a debug line right before a potentially long delay.

Type of change

  • Code maintenance/cleanup

This invokes .close() on usage tracking, which releases two fds per
sub-process (so 4 for each usage-tracked DFK = 2 x {start, stop})
more immediately.

This PR reworks logging around shutdown to emphasise that something
is wrong if SIGKILL is needed, and to add a debug line right before
a potentially long delay.
@benclifford benclifford merged commit 1a2d924 into master Apr 23, 2024
6 checks passed
@benclifford benclifford deleted the benc-usage-join-close branch April 23, 2024 18:17
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.

None yet

2 participants