on-internet
← Community

Expired keys in Redis not cleaned up

Stack Overflow ·

I have a Redis database (5.0.6) that I use to cache some API call made by my application. The application is used by around 400k users. In every keys that we store in our Redis Database we also set an expiry time (usually around 2 hours). Since a few days, it seems that my Redis database is not cleaning my expiry keys anymore... I see that the memory used was around 200Mo a few weeks ago and is now above 1Go and it could continue to grow more if Kubernetes was not killing it when it reached the limit we set. What could be the root cause about this issue ? When I connect to Redis through its cl

Comments

Sign in or sign up to comment and upvote.

No comments yet.