▲ 1 r/AskProgramming
Redis Out of memory - how to find cause?
I have spring boot app that writes to a Redis cache on a UAT env. Recently, the cache has been having spikes in memory, runs out of memory and I need to restart my pod. I don't have an eviction policy set - however I have a clean up job that deletes unneeded keys. My memory limit is 6GB. I can see from Grafana when the breaches / OOM moments occur. I have access to splunk logs to see the logging from my app. However, I don't have access to Redis CLI to run commands.
Can anyone suggest how I'd find the OOM causes? Recently my app has had an increase in use in UAT, so it's likely that. But I want to prove this before making config changes in Prod.
u/niversalite — 1 day ago