# How to check current size of the ealastisearch queues defined in threadpool.XXX.queue\_size?

**URL:** <https://discuss.elastic.co/t/how-to-check-current-size-of-the-ealastisearch-queues-defined-in-threadpool-xxx-queue-size/69254>\
**Category:** Elasticsearch\
**Created:** [December 16, 2016, 7:35am UTC](https://discuss.elastic.co/t/how-to-check-current-size-of-the-ealastisearch-queues-defined-in-threadpool-xxx-queue-size/69254 "2016-12-16T07:35:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![habdank](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/habdank/32/116454_2.png) [@habdank](https://discuss.elastic.co/u/habdank)\
**Post date:** [December 16, 2016, 7:35am UTC](https://discuss.elastic.co/t/how-to-check-current-size-of-the-ealastisearch-queues-defined-in-threadpool-xxx-queue-size/69254/1 "2016-12-16T07:35:44Z")

</div>

Dears,

The parameters named: **threadpool.XXX.queue\_size** may control the queue sizes.

But how to read the current (in real time) size/load on those queues to avoid in runtime overloading Elasticsearch and or to see if they are optimally used and the lengths are properly set?

I had tried to find the answer in the CAT API, but there is nothing explicit related to those queues (perhaps I do not see anything).

Thanks in advance and best regards,  
Seweryn.

---

<div class="post-metadata">

**Author:** ![mikemccand](https://avatars.discourse-cdn.com/v4/letter/m/f04885/32.png) [@mikemccand](https://discuss.elastic.co/u/mikemccand)\
**Post date:** [December 16, 2016, 8:01pm UTC](https://discuss.elastic.co/t/how-to-check-current-size-of-the-ealastisearch-queues-defined-in-threadpool-xxx-queue-size/69254/2 "2016-12-16T20:01:35Z")

</div>

The nodes stats API reports the queue sizes:

[https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html)

Mike McCandless

---

<div class="post-metadata">

**Author:** ![habdank](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/habdank/32/116454_2.png) [@habdank](https://discuss.elastic.co/u/habdank)\
**Post date:** [December 19, 2016, 7:59am UTC](https://discuss.elastic.co/t/how-to-check-current-size-of-the-ealastisearch-queues-defined-in-threadpool-xxx-queue-size/69254/3 "2016-12-19T07:59:50Z")

</div>

Thanks!

---

<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:** [January 16, 2017, 7:59am UTC](https://discuss.elastic.co/t/how-to-check-current-size-of-the-ealastisearch-queues-defined-in-threadpool-xxx-queue-size/69254/4 "2017-01-16T07:59:56Z")

</div>

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