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

MemoryLeak in QueueStatisticsCollector #253

Open
mcweba opened this issue Feb 14, 2025 · 1 comment
Open

MemoryLeak in QueueStatisticsCollector #253

mcweba opened this issue Feb 14, 2025 · 1 comment
Labels

Comments

@mcweba
Copy link
Collaborator

mcweba commented Feb 14, 2025

The QueueStatisticsCollector class manages a hashset called redisques:stats to store statistics for every queue. The items in the hashset do not expire and can only be removed when the corresponding method is called for a specific queue.

We found in our redis database the redisques:stats hset having over 500k entries which caused the used hvals command to take around 400ms.

Many of the queues still in this hash were very old and never deleted.

@mcweba mcweba added the bug label Feb 14, 2025
@hiddenalpha
Copy link
Member

hiddenalpha commented Feb 14, 2025

Maybe related? -> #188

Or maybe also this one? -> #186

Or this one? -> #169

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

No branches or pull requests

2 participants