NovFora Dev

Fixing intermittent OOM kills on my Redis container — need help debugging memory pressure.

Ethan Hughes

Ethan Hughes

2 months ago

I am seeing random "OOM Kill" events in docker logs for a Redis instance running at ~90% of its limit. I have 512MB allocated, and the working set seems to fluctuate between 460-480MB. I suspect evictions are not kicking in fast enough or there is fragmentation. Can anyone help me diagnose if this is genuine memory pressure vs. a possible maxmemory misconfiguration? Key things: maxmemory set to 512mb, maxmemory-policy allkeys-lru, no persistence enabled for the test run.

Matthew Walker

Matthew Walker

2 months ago

Try maxmemory config first, that's usually it.

Join the conversation to leave a reply.

Sign in to reply

Related topics