# Deeper into threadpool

**URL:** <https://discuss.elastic.co/t/deeper-into-threadpool/155518>\
**Category:** Elasticsearch\
**Created:** [November 6, 2018, 9:48am UTC](https://discuss.elastic.co/t/deeper-into-threadpool/155518 "2018-11-06T09:48:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rschirin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rschirin/32/45283_2.png) [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Post date:** [November 6, 2018, 9:48am UTC](https://discuss.elastic.co/t/deeper-into-threadpool/155518/1 "2018-11-06T09:48:16Z")

</div>

Hi all,  
currently I have a cluster with 11 nodes (3 master, 6 data, 2 coordinating only role).  
I would like to understand correctly how to configure `thread pool` key value but I have several doubts:

- should I configure `size` and `queue_size` into the `elasticsearch.yml`?
- if yes, should I restart the nodes?
- about the `get` thread pool type: it is `fixed`with the `queue_size` setted to 1000. how can I increase it? and how can I monitor it to understand if it is full or not?
- about the `get` thread pool type: should I change it on every nodes or only DATA nodes?

I searched for further details but documentation didn't clarify to me everything.

---

<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:** [November 6, 2018, 10:04am UTC](https://discuss.elastic.co/t/deeper-into-threadpool/155518/2 "2018-11-06T10:04:01Z")

</div>

Why do you think you need to alter these?

---

<div class="post-metadata">

**Author:** ![rschirin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rschirin/32/45283_2.png) [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Post date:** [November 6, 2018, 3:48pm UTC](https://discuss.elastic.co/t/deeper-into-threadpool/155518/3 "2018-11-06T15:48:57Z")

</div>

Hi,  
I'm facing some error due probably to `queue_size` reached limit

---

<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:** [November 6, 2018, 7:34pm UTC](https://discuss.elastic.co/t/deeper-into-threadpool/155518/4 "2018-11-06T19:34:47Z")

</div>

Sharing the error would be super handy 🙂

---

<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:** [December 4, 2018, 7:34pm UTC](https://discuss.elastic.co/t/deeper-into-threadpool/155518/5 "2018-12-04T19:34:52Z")

</div>

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