Search code examples
redisspring-data-redisredis-cluster

Redis Server is down twice a day why?


I install Redis Server in Ec2 instance and type is STANDALONE. Storage of my redis is more than 6Million Keys.After crossing this storage server is down frequently twice a day why how to overcome this Issue ?

Thank you in advance for your help!


Solution

  • it's quite possible that you are running out of memory and the OOM is killing the process.

    Try setting the memory limit

    config set maxmemory <80% of your instance memory size>
    

    and check your eviction policy so you know how to handle memory being full