{
  "id": "database/redis-command-queue-full",
  "signature": "redis.exceptions.ResponseError: ERR command queue is full",
  "signature_zh": "redis.exceptions.ResponseError: 错误：命令队列已满",
  "regex": "redis\\.exceptions\\.ResponseError: ERR command queue is full",
  "domain": "database",
  "category": "resource_error",
  "subcategory": null,
  "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.",
  "root_cause_type": "generic",
  "root_cause_zh": "Redis 服务器的命令队列已达到最大容量（由 client-output-buffer-limit 控制），导致来自客户端的新命令被拒绝。",
  "versions": [
    {
      "version": "Redis 6.2",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Redis 7.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Redis 7.2",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Restarting the Redis server without changing buffer limits",
      "why_fails": "The queue resets temporarily but fills up again under the same load; the error returns.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "Increasing maxmemory to allow more memory",
      "why_fails": "maxmemory does not affect command queue limits; it controls total memory usage.",
      "fail_rate": 0.85,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Increase the client output buffer limit for the relevant client type (e.g., normal) in redis.conf:\nclient-output-buffer-limit normal 0 0 0\nThen restart Redis or send CONFIG SET command.",
      "success_rate": 0.85,
      "how": "Increase the client output buffer limit for the relevant client type (e.g., normal) in redis.conf:\nclient-output-buffer-limit normal 0 0 0\nThen restart Redis or send CONFIG SET command.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Reduce the number of pipelined commands sent by the client, or batch them more efficiently to prevent queue buildup.",
      "success_rate": 0.75,
      "how": "Reduce the number of pipelined commands sent by the client, or batch them more efficiently to prevent queue buildup.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Increase the client output buffer limit for the relevant client type (e.g., normal) in redis.conf:\nclient-output-buffer-limit normal 0 0 0\nThen restart Redis or send CONFIG SET command.",
    "Reduce the number of pipelined commands sent by the client, or batch them more efficiently to prevent queue buildup."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://redis.io/docs/latest/develop/reference/clients/",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.83,
  "fix_success_rate": 0.8,
  "resolvable": "partial",
  "first_seen": "2024-02-14",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}