# Getting error org.elasticsearch.common.util.concurrent.EsRejectedExecutionException: rejected execution of org.elasticsearch.transport.TransportService$4@2397ca1d on EsThreadPoolExecutor\[index, queue capacity = 200

**URL:** <https://discuss.elastic.co/t/getting-error-org-elasticsearch-common-util-concurrent-esrejectedexecutionexception-rejected-execution-of-org-elasticsearch-transport-transportservice-4-2397ca1d-on-esthreadpoolexecutor-index-queue-capacity-200/178622>\
**Category:** Elasticsearch\
**Created:** [April 26, 2019, 10:15am UTC](https://discuss.elastic.co/t/getting-error-org-elasticsearch-common-util-concurrent-esrejectedexecutionexception-rejected-execution-of-org-elasticsearch-transport-transportservice-4-2397ca1d-on-esthreadpoolexecutor-index-queue-capacity-200/178622 "2019-04-26T10:15:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pribal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pribal/32/44442_2.png) [@pribal](https://discuss.elastic.co/u/pribal)\
**Post date:** [April 26, 2019, 10:15am UTC](https://discuss.elastic.co/t/getting-error-org-elasticsearch-common-util-concurrent-esrejectedexecutionexception-rejected-execution-of-org-elasticsearch-transport-transportservice-4-2397ca1d-on-esthreadpoolexecutor-index-queue-capacity-200/178622/1 "2019-04-26T10:15:35Z")

</div>

We are getting error in elasticsearch

org.elasticsearch.common.util.concurrent.EsRejectedExecutionException: rejected execution of org.elasticsearch.transport.TransportService$4@2397ca1d on EsThreadPoolExecutor[index, queue capacity = 200, org.elasticsearch.common.util.concurrent.EsThreadPoolExecutor@6cd2db01[Running, pool size = 12, active threads = 12, queued tasks = 200, completed tasks = 1578120]]

Can somebody help me on this

---

<div class="post-metadata">

**Author:** ![Silen\_logs](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@Silen\_logs](https://discuss.elastic.co/u/Silen_logs)\
**Post date:** [April 26, 2019, 7:52pm UTC](https://discuss.elastic.co/t/getting-error-org-elasticsearch-common-util-concurrent-esrejectedexecutionexception-rejected-execution-of-org-elasticsearch-transport-transportservice-4-2397ca1d-on-esthreadpoolexecutor-index-queue-capacity-200/178622/2 "2019-04-26T19:52:25Z")

</div>

Hi,

I guess that that you have to increase your elasticsearch search queue with this option:

> thread\_pool.search.queue\_size

You can read more here: [Thread pools | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-threadpool.html)

---

<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 24, 2019, 8:06pm UTC](https://discuss.elastic.co/t/getting-error-org-elasticsearch-common-util-concurrent-esrejectedexecutionexception-rejected-execution-of-org-elasticsearch-transport-transportservice-4-2397ca1d-on-esthreadpoolexecutor-index-queue-capacity-200/178622/3 "2019-05-24T20:06:11Z")

</div>

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