{
  "id": "python/aiohttp-connector-limit-exceeded",
  "signature": "aiohttp.client_exceptions.ClientOSError: [Errno 24] Too many open files",
  "signature_zh": "aiohttp.client_exceptions.ClientOSError: [Errno 24] 打开的文件过多",
  "regex": "aiohttp\\.client_exceptions\\.ClientOSError:\\ \\[Errno\\ 24\\]\\ Too\\ many\\ open\\ files",
  "domain": "python",
  "category": "system_error",
  "subcategory": null,
  "root_cause": "Too many concurrent connections exceed system file descriptor limit.",
  "root_cause_type": "generic",
  "root_cause_zh": "并发连接过多，超过系统文件描述符限制。",
  "versions": [
    {
      "version": "3.11",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "",
      "fail_rate": 0.4,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.85,
      "how": "connector = aiohttp.TCPConnector(limit=100, limit_per_host=10) # tune values",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "Ensure session.close() and response.release() are always called",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.86,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-10-01",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}