Redis Troubleshooting Toolkit
Use this Redis troubleshooting toolkit to diagnose out-of-memory evictions, RDB/AOF persistence failures, replication and Sentinel failover, Cluster slot errors, and latency spikes.
Paste your error and get a triage plan.
Paste a log line, CLI error, stack trace, service failure, or config snippet and get a structured troubleshooting plan. Your snippet is carried straight into the AI Incident Response Assistant with Redis context prefilled.
Do not paste secrets, tokens, private keys, passwords, or customer data. Your snippet stays in your browser until you open the assistant.
Top 25 Redis Errors and Failure Modes
The production failures engineers hit most — each links to a full cause → fix → prevention guide.
OOM command not allowed when used memory > maxmemory
Redis has hit its maxmemory limit and rejects writes because no keys can be evicted under the current policy.
MISCONF Redis is configured to save RDB snapshots
A background save keeps failing so Redis refuses writes to protect against silent data loss on persistence errors.
MASTERDOWN link with master is down
A replica has lost its connection to the master and can no longer serve stale-read or write-forwarding traffic.
Replica full resync loop
A replica repeatedly triggers full RDB resyncs instead of partial sync, saturating the master and network.
CLUSTERDOWN hash slot not served
One or more of the 16384 cluster hash slots have no serving node, so the cluster rejects commands for those keys.
LOADING Redis is loading the dataset in memory
Redis is still loading its RDB or AOF file at startup and cannot serve client commands until loading completes.
READONLY You can't write against a read only replica
A write command reached a replica, typically after a failover or misrouted connection to the wrong node.
Connection refused
Clients cannot open a socket to Redis because the server is down, bound to the wrong interface, or blocked by a firewall.
ERR max number of clients reached
Redis has hit its maxclients limit and rejects new connections, usually from connection-pool leaks or too many clients.
Latency spikes and slow commands
Redis response times spike due to slow O(N) commands, fork stalls, swapping, or a saturated event loop.
WRONGTYPE Operation against a key holding the wrong kind of value
A command was run against a key whose data type does not match, such as GET on a hash or LPUSH on a string.
NOAUTH Authentication required
The client issued a command before authenticating against a password- or ACL-protected Redis instance.
WRONGPASS invalid username-password pair
Authentication failed because the supplied ACL username or password does not match the server configuration.
CROSSSLOT Keys in request don't hash to the same slot
A multi-key command in Redis Cluster spans keys that map to different hash slots and cannot be executed atomically.
MOVED redirect
The queried cluster node does not own the key's slot and redirects the client to the correct node for that slot.
ASK redirect
A slot is mid-migration between nodes, so the client is temporarily redirected with ASK for the keys being moved.
RDB/AOF load failed or corrupt file
Redis fails to start because its RDB snapshot or AOF file is truncated, corrupted, or version-incompatible.
High memory fragmentation ratio
The allocator holds far more memory than the dataset needs, inflating RSS and risking OOM under memory pressure.
Connection reset by peer
An established connection is abruptly closed by Redis due to timeouts, output-buffer limits, or a server restart.
EXECABORT Transaction discarded because of previous errors
A MULTI/EXEC transaction was aborted because a queued command failed to parse before EXEC was called.
BUSYGROUP Consumer Group name already exists
XGROUP CREATE failed because the stream consumer group already exists, common in non-idempotent setup scripts.
BUSY Redis is busy running a script
A long-running Lua script is blocking the single-threaded server, stalling all other clients until it finishes or is killed.
NOSCRIPT No matching script
EVALSHA referenced a script SHA that is no longer cached, typically after a restart or failover flushed the script cache.
Protocol error: invalid bulk length
Redis received malformed RESP protocol data, often from a non-Redis client, plaintext to a TLS port, or a corrupt pipeline.
BGSAVE / AOF rewrite fork failure (copy-on-write OOM) guide coming soon
Background save or AOF rewrite fails when fork cannot reserve copy-on-write memory, often due to overcommit settings.
Validate your config before you redeploy
Catch the structural mistakes that cause outages — 100% in your browser, nothing uploaded.
Best Redis Prompts
Turn symptoms, logs, and config into a structured plan with prompts tuned for Redis.
Download the Redis Troubleshooting Runbook Pack
Checklists for a Redis instance under memory, persistence, replication, or latency pressure.
- Memory & eviction (maxmemory) checks
- RDB/AOF persistence recovery
- Replication & Sentinel failover
- Cluster slot & CLUSTERDOWN triage
- Latency (SLOWLOG / LATENCY) diagnosis
All Redis Troubleshooting Guides
Grouped by failure-mode type — each guide covers cause, fix, validation, and prevention.