1

I uploaded a new site (migrated) to a new server. 3 times now I've had my redis maxout memory. This causes my site to show an error 500. When I flush the redris the site goes back up immediately. I can't seem to find what is the issue though. Where would I start looking to address it

1 Answer 1

1

You should check your Redis server's eviction policy, which describes what Redis should do when it runs out of memory: https://docs.redis.com/latest/rs/databases/memory-performance/eviction-policy/

Most Redis servers use allkeys-lru by default, which means it will removes the least recently used (oldest) keys to free up memory for new ones.

1
  • 1
    Thanks Brad, it was on volatile-lru. I'll see if this fixes it!
    – rudtek
    Commented Jan 17 at 19:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.