# Force Merge Segments - Avoid Throttling

**URL:** <https://discuss.elastic.co/t/force-merge-segments-avoid-throttling/177020>\
**Category:** Elasticsearch\
**Created:** [April 16, 2019, 8:08am UTC](https://discuss.elastic.co/t/force-merge-segments-avoid-throttling/177020 "2019-04-16T08:08:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbakti7](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dbakti7/32/42250_2.png) [@dbakti7](https://discuss.elastic.co/u/dbakti7)\
**Post date:** [April 16, 2019, 8:08am UTC](https://discuss.elastic.co/t/force-merge-segments-avoid-throttling/177020/1 "2019-04-16T08:08:13Z")

</div>

Is there any way to disable throttling that happens upon invoking force merge segments?  
I can't find any API in documentation to avoid this throttling logic.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [April 16, 2019, 8:21am UTC](https://discuss.elastic.co/t/force-merge-segments-avoid-throttling/177020/2 "2019-04-16T08:21:07Z")

</div>

Throttling happens when your storage can not keep up, so best way to eliminate it would be to get faster storage.

---

<div class="post-metadata">

**Author:** ![dbakti7](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dbakti7/32/42250_2.png) [@dbakti7](https://discuss.elastic.co/u/dbakti7)\
**Post date:** [April 22, 2019, 7:38am UTC](https://discuss.elastic.co/t/force-merge-segments-avoid-throttling/177020/3 "2019-04-22T07:38:06Z")

</div>

@Christian_Dahlqvist I think you are referring to Elasticsearch background merge.  
I am referring to Force\_merge API.  
Btw, I found the workaround by increasing thread pool size for force\_merge via config file.

---

<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 20, 2019, 7:47am UTC](https://discuss.elastic.co/t/force-merge-segments-avoid-throttling/177020/4 "2019-05-20T07:47:23Z")

</div>

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