# Can a node run more than one optimize concurrently

**URL:** <https://discuss.elastic.co/t/can-a-node-run-more-than-one-optimize-concurrently/23641>\
**Category:** Elasticsearch\
**Created:** [May 18, 2015, 10:09am UTC](https://discuss.elastic.co/t/can-a-node-run-more-than-one-optimize-concurrently/23641 "2015-05-18T10:09:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eran\_Eidinger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eran_eidinger/32/44831_2.png) [@Eran\_Eidinger](https://discuss.elastic.co/u/Eran_Eidinger)\
**Post date:** [May 18, 2015, 10:09am UTC](https://discuss.elastic.co/t/can-a-node-run-more-than-one-optimize-concurrently/23641/1 "2015-05-18T10:09:57Z")

</div>

I'm sending a REST call to optimize several indices together:  
127.0.0.1:9200/index1,index2,index3/\_optimize?max\_num\_segments=1&force=true

looking at the segments on disk, it is evident that the node optimizes one  
index at a time (finishes the rist, and then starts the next).  
More than that, it sometimes optimizes 1-3 indices and then stops.

Is there a way to tell the node to optimize several indices concurrently?  
(the machine has 16 CPUs)

Regards,  
Eran

## -- Please update your bookmarks! We have moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)

You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/2f0916c3-0907-4f58-b228-7675ce5257f5%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2f0916c3-0907-4f58-b228-7675ce5257f5%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 12:13am UTC](https://discuss.elastic.co/t/can-a-node-run-more-than-one-optimize-concurrently/23641/2 "2017-07-06T00:13:33Z")

</div>

Closed on July 6, 2017, 12:13am UTC


