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

chore: track opened grpc connections #10284

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

DmitriyMV
Copy link
Member

This is an alternative to #10283 which doesn't close the connections and instead allows us to easily track the lost grpc connections using pprof.

Fix various grpc leaks while we are at it.

@DmitriyMV
Copy link
Member Author

Explanation

Copy link
Member

@dsseng dsseng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A brief test could be added, but perhaps that's okay even without it. No apparent issues to me

@DmitriyMV
Copy link
Member Author

@dsseng done as an Example - if those contain Output: comment block they execute as tests.

This is an alternative to siderolabs#10283 which doesn't close the connections and instead allows
us to easily track the lost grpc connections using pprof.

Fix various grpc leaks while we are at it.

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
@DmitriyMV
Copy link
Member Author

/m

@talos-bot talos-bot merged commit 98d56d4 into siderolabs:main Feb 4, 2025
51 checks passed
@DmitriyMV DmitriyMV deleted the detect-fix-leaks branch February 4, 2025 14:57
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.

4 participants