# How i can increase thread pool queue size in Elasticsearch 5.6

**URL:** <https://discuss.elastic.co/t/how-i-can-increase-thread-pool-queue-size-in-elasticsearch-5-6/145661>\
**Category:** Elasticsearch\
**Created:** [August 23, 2018, 6:32am UTC](https://discuss.elastic.co/t/how-i-can-increase-thread-pool-queue-size-in-elasticsearch-5-6/145661 "2018-08-23T06:32:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Bernt\_Rostad](https://avatars.discourse-cdn.com/v4/letter/b/3ab097/32.png) [@Bernt\_Rostad](https://discuss.elastic.co/u/Bernt_Rostad)\
**Post date:** [August 23, 2018, 6:52am UTC](https://discuss.elastic.co/t/how-i-can-increase-thread-pool-queue-size-in-elasticsearch-5-6/145661/2 "2018-08-23T06:52:59Z")

</div>

> [@amitshar04](#):
>
> how can make changes in elasticsearch.yml file for increasing thread pool queue size setting ?

If you want to increase the maximum search thread pool queue size from the default 1000 to for instance 2000, just add the following to your **elasticsearch.yml** file

`thread_pool.search.max_queue_size: 2000`

and then restart the node for the setting to take effect. Repeat on the other nodes in the cluster.

---

_[View the full topic](https://discuss.elastic.co/t/how-i-can-increase-thread-pool-queue-size-in-elasticsearch-5-6/145661)._
