Hi,
We are using ES 6.7. We are looking at 2 metrics:
Parent Circuit Breaker Used memory
JVM used heap
We see that ES circuit breaker are way off. We see that for the same timestamp:
Used heap returns 17.85 GB whereas parent circuit breaker for the same node shows only 178 MB. Is not the parent circuit breaker breaker be roughly equal to JVM used heap? Why are they way off? In that case, isn't the circuit breaker will always fail to trigger?
-Musfiqur
Elasticsearch 6.x only tracks a limited subset of the heap usage for circuit breaking purposes; although it was good at preventing some overloads, it was not perfect. Elasticsearch 7.x tracks the actual heap usage too.
Technically no, since I think the other circuit breakers might track memory that's potentially needed in future but not currently allocated. In practice they're normally quite close.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.