Skip to content

MemoryLeak in QueueStatisticsCollector #253

@mcweba

Description

@mcweba

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions