# Why is my Elasticseach API(\_nodes/stats) getting stuck?

**URL:** <https://discuss.elastic.co/t/why-is-my-elasticseach-api-nodes-stats-getting-stuck/160712>\
**Category:** Elasticsearch\
**Created:** [December 13, 2018, 10:26am UTC](https://discuss.elastic.co/t/why-is-my-elasticseach-api-nodes-stats-getting-stuck/160712 "2018-12-13T10:26:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chirag\_Lakhanpal](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@Chirag\_Lakhanpal](https://discuss.elastic.co/u/Chirag_Lakhanpal)\
**Post date:** [December 13, 2018, 10:26am UTC](https://discuss.elastic.co/t/why-is-my-elasticseach-api-nodes-stats-getting-stuck/160712/1 "2018-12-13T10:26:02Z")

</div>

I'm using Elasticsearch v6.5.1 on a 40 nodes cluster with `analysis-icu` plugin installed.  
When making a consecutive `_nodes/stats` to 40 nodes the request get stuck after a while. I have enabled trace logs for root as well as transport and slowlogs too which reveal that the query is being served in few milliseconds.  
Any help is appreciated. Newbie here

---

<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:** [December 13, 2018, 8:08pm UTC](https://discuss.elastic.co/t/why-is-my-elasticseach-api-nodes-stats-getting-stuck/160712/2 "2018-12-13T20:08:33Z")

</div>

Why are you making this call to all the nodes?

---

<div class="post-metadata">

**Author:** ![Chirag\_Lakhanpal](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@Chirag\_Lakhanpal](https://discuss.elastic.co/u/Chirag_Lakhanpal)\
**Post date:** [December 14, 2018, 4:00am UTC](https://discuss.elastic.co/t/why-is-my-elasticseach-api-nodes-stats-getting-stuck/160712/3 "2018-12-14T04:00:13Z")

</div>

Hey thanks for the reply. I'm making these calls because at point my querying to elasticsearch with different tokens were getting stuck.  
Node stats:  
Ram: 64GB  
Disk size:1TB  
JVM Heap size: 32GB

---

<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 11, 2019, 4:00am UTC](https://discuss.elastic.co/t/why-is-my-elasticseach-api-nodes-stats-getting-stuck/160712/4 "2019-01-11T04:00:20Z")

</div>

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