Redis Memory Triage

Work out why Redis is full, evicting or out of memory: decide whether the instance is a cache, a durable store or a queue (they need different maxmemory-policy values and separate instances), read INFO memory (used_memory against used_memory_rss, overhead, client output buffers, replication backlog), find the heavy keys by low-rate SCAN with MEMORY USAGE on a replica or redis-cli --memkeys rather than a blocking scan, count keys without a TTL, bound unbounded streams and lists, allow headroom for the BGSAVE or AOF rewrite fork, and UNLINK large keys. Use for "OOM command not allowed when used memory exceeds maxmemory", "Redis evicting keys we need", "memory keeps growing", "fragmentation ratio is 1.8" or "find the big keys". Not for cache correctness and invalidation (application-caching), one hot node (hot-partition-hunt) or sizing the fleet (capacity-planning).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit 5e94ad07a2

Frequently asked questions

npx get-skill add greenblacked/redis-memory-triage