# Elastic search stats shows peak thread usage

**URL:** <https://discuss.elastic.co/t/elastic-search-stats-shows-peak-thread-usage/17784>\
**Category:** Elasticsearch\
**Created:** [May 28, 2014, 3:17pm UTC](https://discuss.elastic.co/t/elastic-search-stats-shows-peak-thread-usage/17784 "2014-05-28T15:17:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![srikanth\_ramineni](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@srikanth\_ramineni](https://discuss.elastic.co/u/srikanth_ramineni)\
**Post date:** [May 28, 2014, 3:17pm UTC](https://discuss.elastic.co/t/elastic-search-stats-shows-peak-thread-usage/17784/1 "2014-05-28T15:17:33Z")

</div>

Hi Team,

We are observing the thread consumption is very high in elastic search but  
we are not able to find root cause. Below are the threads count from  
elastic stats. Can any one provide inputs why it is consuming more threads.

"threads":{"count":67,"peak\_count":70},"gc":{"collectors":{"young":{"collection\_count":156,"collection\_time\_in\_millis":18542},"old":{"collection\_count":2,"collection\_time\_in\_millis":157}}},"buffer\_pools":{"direct":{"count":64,"used\_in\_bytes":92589081,"total\_capacity\_in\_bytes":92589081},"mapped":{"count":610,"used\_in\_bytes":145534127835,"total\_capacity\_in\_bytes":145534127835}}},"thread\_pool":{"generic":{"threads":1,"queue":0,"active":0,"rejected":0,"largest":14,"completed":7629},"index":{"threads":0,"queue":0,"active":0,"rejected":0,"largest":0,"completed":0},"get":{"threads":0,"queue":0,"active":0,"rejected":0,"largest":0,"completed":0},"snapshot":{"threads":1,"queue":0,"active":0,"rejected":0,"largest":2,"completed":27},"merge":{"threads":1,"queue":0,"active":0,"rejected":0,"largest":1,"completed":39},"suggest":{"threads":0,"queue":0,"active":0,"rejected":0,"largest":0,"completed":0},"bulk":{"threads":4,"queue":0,"active":0,"rejected":0,"largest":4,"completed":29},"optimize":{"threads":0,"queue":0,"active":0,"rejected":0,"largest":0,"completed":0},"warmer":{"threads":1,"queue":0,"active":0,"rejected":0,"largest":2,"completed":102},"flush":{"threads":1,"queue":0,"active":0,"rejected":0,"largest":1,"completed":23},"search":{"threads":12,"queue":0,"active":0,"rejected":0,"largest":12,"completed":3521},"percolate":{"threads":0,"queue":0,"active":0,"rejected":0,"largest":0,"completed":0},"management":{"threads":5,"queue":0,"active":1,"rejected":0,"largest":5,"completed":738385},"refresh":{"threads":1,"queue":0,"active":0,"rejected":0,"largest":2,"completed":35}}

Advance thanks ...

Thanks,  
Srikanth.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/dfccac4d-dab8-4284-98f3-73a7bf73b84b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/dfccac4d-dab8-4284-98f3-73a7bf73b84b%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:26am UTC](https://discuss.elastic.co/t/elastic-search-stats-shows-peak-thread-usage/17784/2 "2017-07-06T01:26:18Z")

</div>


