# redis.exceptions.ResponseError: ERR command queue is full

- **ID:** `database/redis-command-queue-full`
- **Domain:** database
- **Category:** resource_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The Redis server's command queue has reached its maximum capacity (controlled by client-output-buffer-limit), causing new commands from the client to be rejected.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| Redis 6.2 | active | — | — |
| Redis 7.0 | active | — | — |
| Redis 7.2 | active | — | — |

## Workarounds

1. **Increase the client output buffer limit for the relevant client type (e.g., normal) in redis.conf:
client-output-buffer-limit normal 0 0 0
Then restart Redis or send CONFIG SET command.** (85% success)
   ```
   Increase the client output buffer limit for the relevant client type (e.g., normal) in redis.conf:
client-output-buffer-limit normal 0 0 0
Then restart Redis or send CONFIG SET command.
   ```
2. **Reduce the number of pipelined commands sent by the client, or batch them more efficiently to prevent queue buildup.** (75% success)
   ```
   Reduce the number of pipelined commands sent by the client, or batch them more efficiently to prevent queue buildup.
   ```

## Dead Ends

- **Restarting the Redis server without changing buffer limits** — The queue resets temporarily but fills up again under the same load; the error returns. (90% fail)
- **Increasing maxmemory to allow more memory** — maxmemory does not affect command queue limits; it controls total memory usage. (85% fail)
