# A massive amount of active generic thread

**URL:** <https://discuss.elastic.co/t/a-massive-amount-of-active-generic-thread/25183>\
**Category:** Elasticsearch\
**Created:** [July 8, 2015, 8:58pm UTC](https://discuss.elastic.co/t/a-massive-amount-of-active-generic-thread/25183 "2015-07-08T20:58:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![liu\_wei](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@liu\_wei](https://discuss.elastic.co/u/liu_wei)\
**Post date:** [July 8, 2015, 8:58pm UTC](https://discuss.elastic.co/t/a-massive-amount-of-active-generic-thread/25183/1 "2015-07-08T20:58:02Z")

</div>

My nodes recently started to have accumulate amount of active generic threads, growing steadily to 20k+, then the node is crashed.

I tried to look from the hot thread but it's not responding. Any other ways to troubleshoot?  
 ![](https://us1.discourse-cdn.com/elastic/original/2X/8/82b101eac3338ab9e60f6b1181a2f91219bff2e4.png)

---

<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:** [July 8, 2015, 10:29pm UTC](https://discuss.elastic.co/t/a-massive-amount-of-active-generic-thread/25183/2 "2015-07-08T22:29:19Z")

</div>

What version are you on?  
What other things do you monitor? Anything in logs?

Can you try to check hot threads before things become unresponsive?

---

<div class="post-metadata">

**Author:** ![liu\_wei](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@liu\_wei](https://discuss.elastic.co/u/liu_wei)\
**Post date:** [July 9, 2015, 12:34am UTC](https://discuss.elastic.co/t/a-massive-amount-of-active-generic-thread/25183/3 "2015-07-09T00:34:33Z")

</div>

Happens both on 1.5 and 1.6. I'm monitoring everything that Marvel sends out.  
There's nothing in the log. And yes, I'm planning to dump hot thread info regularly too.

Is there any java tools to analyze this? I'm on windows server 2012

---

<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:** [July 9, 2015, 12:42am UTC](https://discuss.elastic.co/t/a-massive-amount-of-active-generic-thread/25183/4 "2015-07-09T00:42:32Z")

</div>

What other things does Marvel show increasing in similar ways?

Can you check `_cat/pending_tasks`?

---

<div class="post-metadata">

**Author:** ![liu\_wei](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@liu\_wei](https://discuss.elastic.co/u/liu_wei)\
**Post date:** [July 9, 2015, 5:57pm UTC](https://discuss.elastic.co/t/a-massive-amount-of-active-generic-thread/25183/5 "2015-07-09T17:57:09Z")

</div>

that's worrying, i have a long pending task, many of them are  
218935 5.1s NORMAL indices\_store  
What is this?

Some are  
220192 2.1s URGENT shard-started

---

<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:** [July 10, 2015, 1:07am UTC](https://discuss.elastic.co/t/a-massive-amount-of-active-generic-thread/25183/6 "2015-07-10T01:07:21Z")

</div>

Sounds like your node is overloaded, how much data do you have in it?

---

<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, 12:02am UTC](https://discuss.elastic.co/t/a-massive-amount-of-active-generic-thread/25183/7 "2017-07-06T00:02:28Z")

</div>


