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

Fix goroutine leak on config reload #551

Merged
merged 1 commit into from
Mar 8, 2023
Merged

Fix goroutine leak on config reload #551

merged 1 commit into from
Mar 8, 2023

Conversation

jacksontj
Copy link
Owner

Promxy is leaking goroutines on config reloads leading to OOM kills in the long run.

two issues :

  • oldState ServerGroups are not cancelled if appenders didn't change
  • Prometheus discovery target managers never close SyncCh blocking the ServerGroup Sync() goroutine forever

This is a rebase of #508

Promxy is leaking goroutines on config reloads leading to OOM kills in
the long run.

two issues :
 - oldState ServerGroups are not cancelled if appenders didn't change
 - Prometheus discovery target managers never close SyncCh blocking the ServerGroup Sync() goroutine forever
@jacksontj jacksontj merged commit 8238d3a into master Mar 8, 2023
@jacksontj jacksontj deleted the issue_508 branch March 8, 2023 19:07
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.

1 participant