dotnet
performance_error
ai_generated
true
ThreadPool starvation: work items queued exceeding available threads
ID: dotnet/thread-pool-starvation
78%Fix Rate
82%Confidence
3Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 8 | active | — | — | — |
Root Cause
Thread pool exhausted from blocking calls in async context.
genericWorkarounds
-
92% success Remove blocking calls (.Result, .Wait(), Thread.Sleep) from async code
-
90% success Use async I/O throughout: await instead of synchronous calls
Dead Ends
Common approaches that don't work:
-
Set minimum threads to very high number
72% fail
Excessive memory usage
-
Use Thread.Sleep in async methods
88% fail
Blocks thread pool threads