# Performance tune elastic search

**URL:** <https://discuss.elastic.co/t/performance-tune-elastic-search/88497>\
**Category:** Elasticsearch\
**Created:** [June 7, 2017, 4:09am UTC](https://discuss.elastic.co/t/performance-tune-elastic-search/88497 "2017-06-07T04:09:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shammi](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@shammi](https://discuss.elastic.co/u/shammi)\
**Post date:** [June 7, 2017, 4:09am UTC](https://discuss.elastic.co/t/performance-tune-elastic-search/88497/1 "2017-06-07T04:09:58Z")

</div>

Hi,

I am having issue in elastic serach:  
`Error: Request to Elasticsearch failed: {"error":{"root_cause":[],"type":"reduce_search_phase_exception","reason":"[reduce] ","phase":"fetch","grouped":true,"failed_shards":[],"caused_by":{"type":"es_rejected_execution_exception","reason":"rejected execution of org.elasticsearch.action.search.SearchQueryThenFetchAsyncAction$2@642eb59 on EsThreadPoolExecutor[search, queue capacity = 1000, org.elasticsearch.common.util.concurrent.EsThreadPoolExecutor@3d6cd119[Running, pool size = 13, active threads = 13, queued tasks = 1000, completed tasks = 665690]]"}},"status":503}`

My Elasticsearch settings are:

```
bootstrap.memory_lock: true
network.host: 10.x.x.x
http.port: 9200
cluster.name: es-01
node.name: elasticsearch-01
path.data: /app/elasticsearch-data
path.logs: /app/elasticsearch/logs
indices.breaker.fielddata.limit: 75%

```

Kindly suggest the additional settings that would help to get ride of the above error.

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:** [June 7, 2017, 10:15am UTC](https://discuss.elastic.co/t/performance-tune-elastic-search/88497/2 "2017-06-07T10:15:26Z")

</div>

Increasing the size of your cluster will help.

---

<div class="post-metadata">

**Author:** ![shammi](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@shammi](https://discuss.elastic.co/u/shammi)\
**Post date:** [June 7, 2017, 11:41am UTC](https://discuss.elastic.co/t/performance-tune-elastic-search/88497/3 "2017-06-07T11:41:03Z")

</div>

Can you suggest the required settings to increase the size of cluster.

---

<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:** [June 8, 2017, 9:24pm UTC](https://discuss.elastic.co/t/performance-tune-elastic-search/88497/4 "2017-06-08T21:24:35Z")

</div>

Add more memory or more nodes and make the applicable changes depending on which one you do.

---

<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, 9:25pm UTC](https://discuss.elastic.co/t/performance-tune-elastic-search/88497/5 "2017-07-06T21:25:06Z")

</div>

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