# Circuit\_breaking\_exception

**URL:** <https://discuss.elastic.co/t/circuit-breaking-exception/302698>\
**Category:** Elasticsearch\
**Created:** [April 19, 2022, 9:11am UTC](https://discuss.elastic.co/t/circuit-breaking-exception/302698 "2022-04-19T09:11:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![casterQ](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/casterq/32/93257_2.png) [@casterQ](https://discuss.elastic.co/u/casterQ)\
**Post date:** [April 19, 2022, 9:11am UTC](https://discuss.elastic.co/t/circuit-breaking-exception/302698/1 "2022-04-19T09:11:35Z")

</div>

ES:7.10.2  
this is my error log：

```auto
[parent] Data too large, 
data for [indices:data/write/bulk[s]] would be [30380624822/28.2gb], 
which is larger than the limit of [28975929753/26.9gb], 
real usage: [30380571432/28.2gb], 
new bytes reserved: [53390/52.1kb], 
usages [request=0/0b, fielddata=7605882/7.2mb, in_flight_requests=89910/87.8kb, model_inference=0/0b, accounting=77912706/74.3mb]

```

my cluster settings are:  
`heap.max` = 29.9gb  
`indices.breaker.total.use_real_memory` = true  
`indices.breaker.total.limit` = 90%  
so the limit is: 29.9gb x 90% =[28975929753/26.9gb]

my question is why the real usage[30380571432/28.2gb] can bigger than the limit[28975929753/26.9gb] ?  
and how can i find out who uses this memory: usage[30380571432/28.2gb]

---

<div class="post-metadata">

**Author:** ![grfneto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/grfneto/32/125776_2.png) [@grfneto](https://discuss.elastic.co/u/grfneto)\
**Post date:** [April 19, 2022, 1:50pm UTC](https://discuss.elastic.co/t/circuit-breaking-exception/302698/2 "2022-04-19T13:50:16Z")

</div>

HI @casterQ

There are documentation that explains the circuit breaker errors step by step:

[Fix common cluster issues | Elasticsearch Guide [7.12] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.12/fix-common-cluster-issues.html#circuit-breaker-errors)

Maybe I can help you understand

Best regards

---

<div class="post-metadata">

**Author:** ![casterQ](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/casterq/32/93257_2.png) [@casterQ](https://discuss.elastic.co/u/casterQ)\
**Post date:** [April 20, 2022, 2:54am UTC](https://discuss.elastic.co/t/circuit-breaking-exception/302698/3 "2022-04-20T02:54:26Z")

</div>

Thanks for the documentation;  
My question is that at some point，current real usage is larger than the limit(heap.max \* indices.breaker.total.limit)，Shouldn't it breaker when the limit is reached？

---

<div class="post-metadata">

**Author:** ![casterQ](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/casterq/32/93257_2.png) [@casterQ](https://discuss.elastic.co/u/casterQ)\
**Post date:** [April 20, 2022, 2:55am UTC](https://discuss.elastic.co/t/circuit-breaking-exception/302698/4 "2022-04-20T02:55:41Z")

</div>

Looking forward to your recovery

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 26, 2022, 1:45am UTC](https://discuss.elastic.co/t/circuit-breaking-exception/302698/5 "2022-04-26T01:45:48Z")

</div>

> [@casterQ](#):
>
> my question is why the real usage[30380571432/28.2gb] can bigger than the limit[28975929753/26.9gb] ?  
> and how can i find out who uses this memory: usage[30380571432/28.2gb]

Your bulk sizes are too large to fit into heap, so look at decreasing those.

---

<div class="post-metadata">

**Author:** ![casterQ](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/casterq/32/93257_2.png) [@casterQ](https://discuss.elastic.co/u/casterQ)\
**Post date:** [April 26, 2022, 3:51am UTC](https://discuss.elastic.co/t/circuit-breaking-exception/302698/7 "2022-04-26T03:51:31Z")

</div>

i think my bulk size only need 52.1KB mem，and currnet use `28.2gb` is larger than limit `26.9gb`

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 24, 2022, 3:51am UTC](https://discuss.elastic.co/t/circuit-breaking-exception/302698/8 "2022-05-24T03:51:48Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
