{
  "id": "go/http-connection-pool-exhausted",
  "signature": "http: connection pool exhausted",
  "signature_zh": "http: 连接池耗尽",
  "regex": "http:\\ connection\\ pool\\ exhausted",
  "domain": "go",
  "category": "resource_error",
  "subcategory": null,
  "root_cause": "The HTTP client has reached the maximum number of idle connections and cannot create new ones due to limits.",
  "root_cause_type": "generic",
  "root_cause_zh": "HTTP客户端达到最大空闲连接数，因限制无法创建新连接。",
  "versions": [
    {
      "version": "1.20",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "May still hit OS file descriptor limits",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Increases latency and connection overhead",
      "fail_rate": 0.4,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "Use http.Transport with appropriate MaxIdleConns and MaxIdleConnsPerHost settings",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "Implement connection pooling with a worker pool to limit concurrency",
      "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.83,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-04-18",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}