# http: connection pool exhausted

- **ID:** `go/http-connection-pool-exhausted`
- **Domain:** go
- **Category:** resource_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The HTTP client has reached the maximum number of idle connections and cannot create new ones due to limits.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 1.20 | active | — | — |

## Workarounds

1. **** (90% success)
   ```
   Use http.Transport with appropriate MaxIdleConns and MaxIdleConnsPerHost settings
   ```
2. **** (85% success)
   ```
   Implement connection pooling with a worker pool to limit concurrency
   ```

## Dead Ends

- **** — May still hit OS file descriptor limits (50% fail)
- **** — Increases latency and connection overhead (40% fail)
