The article recommends how to fix Redis.
Website slowness or outage due to memory overflow in Redis.
Memory overflow can cause the Redis service to crash. During peak time, the Redis service may require more memory than what is currently allocated.
To check current configuration and used memory, run the following command in the CLI. It checks for used memory, maxmemory, evicted keys, and Redis up time in days:
redis-cli -p REDIS_PORT -h REDIS_HOST info | egrep --color "(role|used_memory_peak|maxmemory|evicted_keys|uptime_in_days)"
The REDIS_PORT and REDIS_HOST variables can be retrieved from
If the output from running the above query shows that the percentage of free memory is less than 40%, submit a ticket to Adobe Commerce support requesting an increase of the
maxmemory setting in Redis Server. If the evicted keys value is not “0” or the Redis up time in days equals 0 (indicating Redis has crashed today), you should also submit a ticket to Adobe Commerce support requesting an investigation and a fix for this issue.
To learn more about Redis memory refer to Redis Memory Optimization.