# Max compilations rate setting - cluster level or node level?

**URL:** <https://discuss.elastic.co/t/max-compilations-rate-setting-cluster-level-or-node-level/317299>\
**Category:** Elasticsearch\
**Created:** [October 24, 2022, 8:49am UTC](https://discuss.elastic.co/t/max-compilations-rate-setting-cluster-level-or-node-level/317299 "2022-10-24T08:49:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaigbdb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaigbdb/32/74219_2.png) [@shaigbdb](https://discuss.elastic.co/u/shaigbdb)\
**Post date:** [October 24, 2022, 8:49am UTC](https://discuss.elastic.co/t/max-compilations-rate-setting-cluster-level-or-node-level/317299/1 "2022-10-24T08:49:21Z")

</div>

Does the limit defined in script.max\_compilations\_rate apply for the concurrent number of scripts on a node, or for the total concurrent number of scripts for the entire cluster?

> **[Circuit breaker settings | Elasticsearch Guide \[8.4\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/8.4/circuit-breaker.html#script-compilation-circuit-breaker)**

Thanks.

---

<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:** [October 26, 2022, 4:20am UTC](https://discuss.elastic.co/t/max-compilations-rate-setting-cluster-level-or-node-level/317299/2 "2022-10-26T04:20:55Z")

</div>

I don't know for certain, but circuit breakers are per-node, so it would seem logical that this is also a per-node setting.

---

<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:** [November 23, 2022, 4:20am UTC](https://discuss.elastic.co/t/max-compilations-rate-setting-cluster-level-or-node-level/317299/3 "2022-11-23T04:20:57Z")

</div>

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