# What is the effect of circuit breakers limit on search queries

**URL:** <https://discuss.elastic.co/t/what-is-the-effect-of-circuit-breakers-limit-on-search-queries/318795>\
**Category:** Elasticsearch\
**Created:** [November 13, 2022, 10:26am UTC](https://discuss.elastic.co/t/what-is-the-effect-of-circuit-breakers-limit-on-search-queries/318795 "2022-11-13T10:26:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![md2](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@md2](https://discuss.elastic.co/u/md2)\
**Post date:** [November 13, 2022, 10:26am UTC](https://discuss.elastic.co/t/what-is-the-effect-of-circuit-breakers-limit-on-search-queries/318795/1 "2022-11-13T10:26:35Z")

</div>

Hi, I am wondering what happens to the queries that hit the circuit breakers memory limit, are they discarded completely and lost forever? What is the recommended method to monitor these queries?

Does this entry from the logs indicate certain query hit the limit and was discarded?

```auto
[2022-11-13T06:27:48,570][WARN][o.e.i.b.request] [elasticsearch-1] [request] New used memory 10830098704 [10gb] for data of [<reused_arrays>] would be larger than configured breaker: 10737418240 [10gb], breaking

```

---

<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:** [November 13, 2022, 11:36pm UTC](https://discuss.elastic.co/t/what-is-the-effect-of-circuit-breakers-limit-on-search-queries/318795/2 "2022-11-13T23:36:45Z")

</div>

They are cancelled by Elasticsearch and a response is sent to the client that requested it, so it's up to that client to take appropriate action.

> [@md2](#):
>
> Does this entry from the logs indicate certain query hit the limit and was discarded?

Yes.

---

<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:** [December 11, 2022, 11:37pm UTC](https://discuss.elastic.co/t/what-is-the-effect-of-circuit-breakers-limit-on-search-queries/318795/3 "2022-12-11T23:37:26Z")

</div>

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