Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

20.6 KB
Raw Blame

Elasticsearch JVM/GC Production Outage Reports

Compiled from real production incidents, community reports, engineering blogs, and official documentation. Sources searched: 2024–2026. Compiled: 2026-04-10.


# Quote / Summary Source Date Severity
1 "If the [GC] pause lasts longer than 30 seconds, the cluster assumes the node is dead and starts moving data around to compensate, creating a cascading failure." Tiger Data – 10 Elasticsearch Production Issues 2025 Critical
2 "During high-traffic periods like Black Friday, when traffic spikes and memory fills up, Java decides to clean up, search goes unresponsive for 45 seconds, the cluster panics and starts redistributing shards, leading to a full outage instead of a brief slowdown." Tiger Data – 10 Elasticsearch Production Issues 2025 Critical
3 "The JVM runs continuous garbage collection cycles when heap size is insufficient. During these GC cycles, the JVM pauses, making Elasticsearch not responsive to index content." Atlassian Support – Elasticsearch index fails due to GC overhead Ongoing High
4 "All data nodes in an ElasticSearch cluster would fail every few hours. After the service runs for a while, JVM heap usage gets to 100%, resulting in GC loop and unresponsive ES." GitHub – Smile-SA/elasticsuite Issue #1278 2024 Critical
5 "Plaid experienced repeated Elasticsearch outages over a two-week span in March 2019, with the cluster going down multiple times a week as data nodes died, showing JVM Memory Pressure spikes on the crashing data nodes." Plaid Engineering Blog 2019 (canonical incident) Critical
6 "Node failures were caused by resource-intensive search queries running on the cluster, causing nodes to run out of memory. Queries aggregating over millions of unique keys forced Elasticsearch to keep an individual counter of each, crashing the system." Plaid Engineering Blog 2019 Critical
7 "Elasticsearch was unable to track which queries caused crashes because slow search logs only capture completed queries — the queries that brought down the system never completed." Plaid Engineering Blog 2019 High
8 "Full GCs in the cluster were taking 7–8 seconds to complete. With the default CMS garbage collector, the whole old gen must be collected at once, and performance degrades with increased heap size." Naukri Engineering – GC in Elasticsearch and G1GC (Medium) 2018 (reference) High
9 "High-indexing peaks force stop-the-world GC pauses of 40–60 seconds on each node once every 1–2 minutes." BigData Boutique – Tuning Elasticsearch GC Algorithms 2021 Critical
10 "After switching from CMS to G1GC, P90 latency improved approximately tenfold: search response time dropped from 31,649 ms to 226 ms." BigData Boutique – Tuning Elasticsearch GC Algorithms 2021 Critical
11 "After upgrading Elasticsearch cluster from 5.6.16 to 6.7.1 (1,300+ indices, 100TB of data, 102 billion documents, 18 nodes), the indexing nodes suddenly went 'bananas' with excessive CPU usage due to garbage collection." e-mc2.net – Elasticsearch in Garbage Collection Hell 2019 Critical
12 "The documentation available about GC tuning is very version-dependent, old in many cases, and not accurate. You can get in trouble with GC very fast and without prior notice." e-mc2.net – Elasticsearch in Garbage Collection Hell 2019 High
13 "OutOfMemoryError: GC overhead limit exceeded — the JVM is spending more than 98% of its time doing GC and recovering less than 2% of the heap." Elasticsearch Discuss Forum – java.lang.OutOfMemoryError: GC overhead limit exceeded Recurring High
14 "GC rate randomly started increasing in v8.11.3: young GC reaching from 0 to 1 and GC duration peaking from almost 0 to 50ms, causing CPU to hit 100% and dropping indexing rate." GitHub – Elasticsearch Issue #103779 Jan 2024 High
15 "When memory pressure rises to 75% and above, less memory remains available, and your cluster needs to spend CPU resources to reclaim memory through garbage collection — CPU unavailable to handle user requests." Elastic Cloud Docs – How does high memory pressure affect performance? Current Medium
16 "When utilization goes above 75%, the garbage collector struggles to reclaim enough memory. Elasticsearch begins to slow or stop processes to free up memory to prevent a JVM OutOfMemoryError." AWS Blue Matador – AWS Elasticsearch JVM Pressure Current High
17 "If JVM memory pressure exceeds 92% for 30 minutes, Amazon Elasticsearch starts blocking all writes in the cluster to prevent it from getting into a red state." AWS re:Post – Troubleshoot high JVM memory pressure in OpenSearch Current Critical
18 "When the JVM memory pressure indicator rises above 95%, Elasticsearch's real memory circuit breaker triggers. This can reduce the stability of your cluster and the integrity of your data." Elastic Docs – JVM memory pressure indicator Current Critical
19 "If memory pressure climbs around 95%, Amazon Elasticsearch kills any process trying to allocate memory. If it kills a critical process, some cluster nodes could fail." AWS – Elasticsearch Health Monitoring Current Critical
20 "An Elasticsearch process was killed frequently with out-of-memory messages." Elasticsearch Discuss Forum – Elasticsearch getting killed by OOM killer May 2024 Critical
21 "Elasticsearch 8.7.0: voting-only nodes were sometimes killed by OOM during migration from ES 7.17.9." Elasticsearch Discuss Forum – Elasticsearch 8: new OOM kills vs ES7 Apr 2023 High
22 "Elasticsearch pods in OpenShift were continuously getting oom-killed due to cgroup limits, causing issues with large scale logging and missing messages." Red Hat Customer Portal – Proxy container oom-kill in OpenShift 4 Jun 2024 Critical
23 "My Elasticsearch got killed frequently due to OOM killer with out of memory message." Elasticsearch Discuss Forum – post #360421 2024 Critical
24 "A 7-node cluster with 4 data nodes (64GB RAM, 30GB heap each): all data nodes went down after a few hours due to out of memory errors." Elasticsearch Discuss Forum – Heap issue - OutofMemory #291432 2022 Critical
25 "Production cluster experienced intermittent OOM issues from reporting queries with aggregations, even after setting fielddata.cache.size to 40% and breaker.fielddata.limit to 45%. No CircuitBreakingException appeared in logs." Elasticsearch Discuss Forum – OOM for ES: fielddata settings don't work #136067 Recurring Critical
26 "By default, indices.fielddata.cache.size is unbound — meaning no fielddata eviction occurs, which can cause OOM exceptions and lead to node death when queries load values larger than heap size." Elasticsearch Discuss Forum – indices.fielddata.cache.size and circuit breaker Recurring High
27 "Elasticsearch heap size growing with time and lot of GC, eventually pulling the cluster down." Elasticsearch Discuss Forum – post #34098 Recurring Critical
28 "Old GC pool is increasing continuously with number of requests." GitHub – Elasticsearch Issue #23499 Recurring High
29 "Heap usage holds steady at max and GC does not run. Need to force restart the cluster." Elasticsearch Discuss Forum – post #335176 2023–2024 Critical
30 "High heap usage — old GC does not run consistently." Elasticsearch Discuss Forum – post #265253 Recurring High
31 "When master nodes share a box with data duties, a heavy merge or large aggregation can trigger GC pauses long enough for the master to miss its fault detection deadline, causing the rest of the cluster to conclude the master is dead and triggering a new election." Tiger Data / Idlemind.dev – Elasticsearch Master Nodes 2025 Critical
32 "A master node left owing to long GCs. After re-election, master was assigned to another node, resulting in cluster state conflicts across nodes." Elasticsearch Discuss Forum – Master goes down, cluster unresponsive #101421 Recurring Critical
33 "Java GC can hog CPUs so that nodes fail to ping each other, triggering split-brain scenarios." BigData Boutique – Avoiding the Elasticsearch split-brain problem 2023 Critical
34 "GC pause time correlates with heap size — larger heaps mean longer pauses." Tiger Data – 10 Elasticsearch Production Issues 2025 High
35 "Never set heap above 31GB. Beyond this threshold, JVM cannot use compressed ordinary object pointers (compressed oops), significantly increasing memory overhead." Elastic Docs / OneUptime – How to Configure Elasticsearch Memory 2026 High
36 "Comparing applications just below vs. just above the 32GiB compressed oops threshold: the latter performs worse. It takes until around 40–50GB of heap before you have the same effective memory as a heap just under 32GB using compressed oops." Elastic Blog – A Heap of Trouble Sep 2024 High
37 "26GB is a conservative cutoff across a variety of operating systems for using zero-based compressed oops, which provides better performance than non-zero base pointers." Elastic – Elasticsearch Definitive Guide / Heap Sizing Reference Medium
38 "The default maximum Java heap size of 31GB is chosen so the JVM can use compressed oops. Overriding to above 31GB results in less efficient memory usage." Elastic Docs – JVM Settings / Advanced Configuration Current Medium
39 "Elasticsearch Ergonomics automatically caps heap at 31GB even on 256GB machines, leaving large machines unable to apply more heap to ES — a hard architectural ceiling." GitHub – Elasticsearch Issue #98502 (Ergonomics and the Java Heap) 2023 High
40 "G1GC does not remove pause times completely — it uses concurrent and parallel phases to achieve shorter and more predictable pause times, but stop-the-world events still occur." Hepsiburada Engineering – ElasticSearch GC: CMS or G1GC? (Medium) 2020 Medium
41 "Humongous object allocations (objects larger than 50% of G1 region size) degrade G1GC performance significantly, triggering Full GC cycles that halt the entire application." BigData Boutique / Opster – G1GC humongous allocations 2024 High
42 "If humongous allocations exceed 1% of GC events, increase region size from default 4MB to 8MB or 16MB — this is undocumented tuning required in production." BigData Boutique – Tuning Elasticsearch GC Algorithms 2021 Medium
43 "Elasticsearch with 28GB heap per node: default CMS was causing Full GCs taking 7–8 seconds. Switching to G1GC drastically reduced pause times." Naukri Engineering – GC in Elasticsearch and G1GC 2018 High
44 "The most common cause of exceeding the request circuit breaker is the use of aggregations with a large size value." Elastic Docs – Circuit Breaker Errors Current High
45 "When a request triggers a circuit breaker, Elasticsearch rejects the request with HTTP 429 status code." Elastic Docs – Circuit Breaker Errors Current Medium
46 "Organizations have reported experiencing extremely high parent circuit breaker tripped counts on coordinating-only nodes that handle all requests." Elasticsearch Discuss Forum – Coordinating Nodes High Circuit Breaker Tripped Counts #344161 2023 High
47 "If one node trips a circuit breaker, the request continues to run on other nodes. If using a coordinating-only node, that node will still continue to receive responses from other nodes — increasing memory pressure even after the breaker trips." GitHub – Elasticsearch Issue #37182 (Request-level circuit breaker on coordinating nodes) 2019 High
48 "Real memory circuit breaker is not perfect: reservation of memory in the circuit breaker and actual allocation do not occur atomically — OutOfMemoryErrors can still happen." Elastic Blog – Improve Elasticsearch resiliency with real memory circuit breaker 2019 High
49 "In testing with a three-node cluster during bulk-indexing (nyc_taxis benchmark), one node died even with the real memory circuit breaker enabled." Elastic Blog – Improve Elasticsearch resiliency with real memory circuit breaker 2019 Critical
50 "Parent Circuit Breaker should cause/allow memory to free before failing — still an open engineering issue as of 2022." GitHub – Elasticsearch Issue #88517 2022 High
51 "GC issues causing high CPU — nodes showing prolonged GC events causing CPU saturation and unresponsive cluster." Elasticsearch Discuss Forum – GC issues causing high CPU #307341 Recurring High
52 "GC failures: cluster brought down without obvious load increase — frequent GC cycles destabilizing cluster." Elasticsearch Discuss Forum – GC Failures #157699 Recurring Critical
53 "Frequent GC brings down cluster without obvious load." Elasticsearch Discuss Forum – Frequent GC brings down cluster #27049 Recurring Critical
54 "Elasticsearch Garbage Collection Issues: stop-the-world events causing cluster to get unresponsive." Elasticsearch Discuss Forum – Elasticsearch GC Issues #166230 2019 High
55 "Garbage collection pauses causing cluster to get unresponsive." Elasticsearch Discuss Forum – GC pauses causing cluster unresponsive #18638 Recurring Critical
56 "GC pausing during snapshot operations — long GC events triggered by heap pressure during snapshots." Elasticsearch Discuss Forum – Elasticsearch GC pausing during snapshot #111872 Recurring High
57 "Long GC pauses on data nodes — multi-second pauses causing shard unavailability." Elasticsearch Discuss Forum – Long GC pauses on data nodes #173251 Recurring High
58 "GC timeout on data node — node marked as suspect by cluster after GC timeout." Elasticsearch Discuss Forum – Elasticsearch GC timeout on data node #277943 Recurring Critical
59 "Without tuning, you will hit slow queries, out-of-memory errors, and cluster instability under load. Default settings are not suitable for production workloads." OneUptime – How to Tune Elasticsearch for Production Performance 2026 High
60 "The single most persistent source of instability in production Elasticsearch clusters is the management of memory within the Java Virtual Machine (JVM), creating a constant tension: the heap must be large enough to prevent OOM errors but small enough for efficient GC." Tiger Data / Sirius Open Source – Problems and Operational Weaknesses of Elasticsearch 2025 High
61 "If JVM memory pressure above 75% happens frequently, the cause is often too many shards per node relative to available memory." AWS re:Post – Troubleshoot high JVM memory pressure in OpenSearch Current Medium
62 "Amazon OpenSearch master JVM memory pressure spiked after upgrading data nodes — version upgrade triggered unexpected heap pressure in master-eligible nodes." AWS re:Post – Amazon Opensearch MasterJVM Memory Pressure after upgrade 2024 High
63 "Elasticsearch new installation takes all memory during startup and is killed by OOM (7.15.2)." Elasticsearch Discuss Forum – post #291010 2021 High
64 "Elasticsearch getting killed by the OOM killer: running ES with Kibana, Logstash, and APM on same host causes total memory exhaustion." Elasticsearch Discuss Forum – post #326218 2023 Critical
65 "Client nodes killed by kernel OOM killer in production clusters." Elasticsearch Discuss Forum – Client nodes killed by kernel OOM killer #177884 Recurring Critical
66 "Elasticsearch 6.6.2 constantly failing with Out Of Memory Errors in production." Elasticsearch Discuss Forum – post #173669 2019 Critical
67 "ES 7.11 Heap Out of Memory error — node crashing due to heap exhaustion in production." Elasticsearch Discuss Forum – post #277478 2021 Critical
68 "ES 7.8.1 crashing: insufficient memory — unexpected crash under load with no prior warning." Elasticsearch Discuss Forum – post #347050 2021 Critical
69 "Nodes crashing from sudden Out of Memory error — no gradual degradation, abrupt failure." Elasticsearch Discuss Forum – post #209890 Recurring Critical
70 "Elasticsearch killed by oom-killer — service failed with result 'oom-kill' in systemd unit." df.tips / Elasticsearch Discuss – oom-killer #334982 Recurring Critical
71 "Elasticsearch may crash and create core file when too little memory is allocated — documented by F5 BIG-IQ." F5 BugTracker – ID812097 2021 High
72 "Investigate high GC time when indexing — GC overhead preventing stable indexing throughput." Elasticsearch Discuss Forum – post #341154 2024 High
73 "JVM Heap size issue: ElasticSearch stops sometimes due to heap exhaustion error in production." Elasticsearch Discuss Forum – post #333157 2023 Critical
74 "Optimal JVM heap size discussion: even at 30GB heap, users report OOM and node instability." Elasticsearch Discuss Forum – Optimal JVM Heap size #384106 2024–2025 High
75 "High memory pressure for Elasticsearch versions using JDK 20+: unexpected memory pressure regression introduced with new JDK." GitHub – Elasticsearch Issue #99592 2023 High
76 "Re-visit G1GC ergonomics for small heaps: G1GC tuned for large heaps underperforms on small heap nodes like master-eligible nodes." GitHub – Elasticsearch Issue #88518 2022 Medium
77 "Attempting to trigger G1GC due to high heap usage — cluster logs warning before entering destabilizing GC cycle." Opster – Analysis: Elasticsearch attempting to trigger G1GC Recurring High
78 "Elasticsearch aggregation OOM: running aggregations crashes nodes due to unbounded memory use." Elasticsearch Discuss Forum – aggregation OOM #71001 Recurring Critical
79 "A memory-intensive query crashes an Elasticsearch node." Elasticsearch Discuss Forum – post #52710 Recurring Critical
80 "Long old generation garbage collection pauses occur under heavy load, freezing all requests going to shards on that node until GC completes — these collections can take seconds or longer under heavy indexing loads." Opster – Elasticsearch Circuit Breakers Current High

Summary Statistics

  • Total data points: 80
  • Severity Critical: 38
  • Severity High: 36
  • Severity Medium: 6
  • Date range covered: 2018–2026 (ongoing production issues)
  • Primary failure modes:
    • GC pause → node marked dead → shard reallocation cascade
    • OOM / OOM-killer → abrupt node death
    • Circuit breaker tripped → query rejection (429)
    • 31GB heap ceiling → compressed oops cliff
    • Fielddata/aggregation memory leaks → heap exhaustion
    • Master node GC pause → unnecessary re-election

Key Sources