elasticsearch
resource_error
ai_generated
true
TooManyScrollContextsException: too many scroll contexts
ID: elasticsearch/concurrent-scroll-limit
80%Fix Rate
84%Confidence
3Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 8 | active | — | — | — |
Root Cause
Too many open scroll contexts consuming memory.
genericWorkarounds
-
92% success Clear scroll contexts after use: DELETE _search/scroll
-
90% success Use search_after instead of scroll for deep pagination
Dead Ends
Common approaches that don't work:
-
Increase max_open_scroll_context to very high
82% fail
Memory exhaustion
-
Never clear scroll contexts
85% fail
Memory leak