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: sidekiq stats collector memory leak #256

Merged
merged 1 commit into from
Nov 16, 2022
Merged

FIX: sidekiq stats collector memory leak #256

merged 1 commit into from
Nov 16, 2022

Conversation

mpucholblasco
Copy link
Contributor

We also experienced the problem explained in #240 , in which metrics present in the sidekiq stats collector started to grow and saturated the process (used all CPU assigned to it).

This PR aims to clean old metrics, as sidekiq_queue_collector.rb does.

@SamSaffron
Copy link
Member

Oh ... nice catch, thanks for fixing!

@SamSaffron SamSaffron merged commit cd0908e into discourse:main Nov 16, 2022
@SamSaffron
Copy link
Member

Let me know that this resolves the issue, once confirmed I will push out a release.

@mpucholblasco
Copy link
Contributor Author

Let me know that this resolves the issue, once confirmed I will push out a release.

Hi @SamSaffron , thanks for the fast reply. Sure, gonna test it. I will notify to you with the results.

@mpucholblasco
Copy link
Contributor Author

Hello @SamSaffron , after some tests, seems that the problem has been fixed, so I guess that you can push out a release.

Thanks!

@SamSaffron
Copy link
Member

cool, will push a new release today, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants