# ELK data note index creating taking to much time

**URL:** <https://discuss.elastic.co/t/elk-data-note-index-creating-taking-to-much-time/118781>\
**Category:** Elasticsearch\
**Created:** [February 7, 2018, 9:08am UTC](https://discuss.elastic.co/t/elk-data-note-index-creating-taking-to-much-time/118781 "2018-02-07T09:08:52Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![sateesh](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@sateesh](https://discuss.elastic.co/u/sateesh)\
**Post date:** [February 7, 2018, 9:08am UTC](https://discuss.elastic.co/t/elk-data-note-index-creating-taking-to-much-time/118781/1 "2018-02-07T09:08:52Z")

</div>

Hi,

After restarting elastic search data node, it is taking to much time for creating index, in kibana dash board getting request time out.

almost 28hr over still shows red.  
{  
"cluster\_name" : "elk-stack",  
"status" : "red",  
"timed\_out" : false,  
"number\_of\_nodes" : 8,  
"number\_of\_data\_nodes" : 3,  
"active\_primary\_shards" : 791,  
"active\_shards" : 978,  
"relocating\_shards" : 0,  
"initializing\_shards" : 4,  
"unassigned\_shards" : 820,  
"delayed\_unassigned\_shards" : 0,  
"number\_of\_pending\_tasks" : 0,  
"number\_of\_in\_flight\_fetch" : 854,  
"task\_max\_waiting\_in\_queue\_millis" : 0,  
"active\_shards\_percent\_as\_number" : 54.27302996670367

Regards  
Sateesh

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 7, 2018, 9:21am UTC](https://discuss.elastic.co/t/elk-data-note-index-creating-taking-to-much-time/118781/2 "2018-02-07T09:21:43Z")

</div>

Which version?  
Probably too many shards for only 3 data nodes which creates very big cluster state.

---

<div class="post-metadata">

**Author:** ![sateesh](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@sateesh](https://discuss.elastic.co/u/sateesh)\
**Post date:** [February 7, 2018, 9:38am UTC](https://discuss.elastic.co/t/elk-data-note-index-creating-taking-to-much-time/118781/3 "2018-02-07T09:38:01Z")

</div>

Version -lucene\_version" : "5.5.4

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 7, 2018, 9:48am UTC](https://discuss.elastic.co/t/elk-data-note-index-creating-taking-to-much-time/118781/4 "2018-02-07T09:48:50Z")

</div>

Elasticsearch version?

---

<div class="post-metadata">

**Author:** ![sateesh](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@sateesh](https://discuss.elastic.co/u/sateesh)\
**Post date:** [February 7, 2018, 9:53am UTC](https://discuss.elastic.co/t/elk-data-note-index-creating-taking-to-much-time/118781/5 "2018-02-07T09:53:48Z")

</div>

Elastic search -  
"version" : {  
"number" : "2.4.6",

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 7, 2018, 1:27pm UTC](https://discuss.elastic.co/t/elk-data-note-index-creating-taking-to-much-time/118781/6 "2018-02-07T13:27:50Z")

</div>

Could you run:

```auto
GET /_cat/nodes?v&h=*

```

---

<div class="post-metadata">

**Author:** ![sateesh](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@sateesh](https://discuss.elastic.co/u/sateesh)\
**Post date:** [February 7, 2018, 2:50pm UTC](https://discuss.elastic.co/t/elk-data-note-index-creating-taking-to-much-time/118781/7 "2018-02-07T14:50:07Z")

</div>

> [@dadoonet](#):
>
> GET /\_cat/nodes?v&h=\*

I am seeing below error in logs and status shows red.

nested: ElasticsearchTimeoutException[no activity after [30m]];  
at org.elasticsearch.indices.recovery.RecoveriesCollection$RecoveryMonitor.doRun(RecoveriesCollection.java:235)  
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)  
at java.lang.Thread.run(Thread.java:748)  
Caused by: ElasticsearchTimeoutException[no activity after [30m]]  
... 5 more

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 7, 2018, 4:21pm UTC](https://discuss.elastic.co/t/elk-data-note-index-creating-taking-to-much-time/118781/8 "2018-02-07T16:21:42Z")

</div>

Is this the output of what I asked for?

```auto
GET /_cat/nodes?v&h=*

```

Do you mean this command is failing?

---

<div class="post-metadata">

**Author:** ![sateesh](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@sateesh](https://discuss.elastic.co/u/sateesh)\
**Post date:** [February 8, 2018, 5:34am UTC](https://discuss.elastic.co/t/elk-data-note-index-creating-taking-to-much-time/118781/9 "2018-02-08T05:34:46Z")

</div>

it failed to fetch the data, even after install GET package.

-bash: GET: command not found

One information required, below query is health check output  
"status" : "red",  
"timed\_out" : false,  
"number\_of\_nodes" : 8,  
"number\_of\_data\_nodes" : 3,  
"active\_primary\_shards" : 883,  
"active\_shards" : 1131,  
"relocating\_shards" : 0,  
"initializing\_shards" : 6,  
"unassigned\_shards" : 685,  
"delayed\_unassigned\_shards" : 0,  
"number\_of\_pending\_tasks" : 0,  
"number\_of\_in\_flight\_fetch" : 543,  
"task\_max\_waiting\_in\_queue\_millis" : 0,  
"active\_shards\_percent\_as\_number" : 62.07464324917673

after how much percentage it shows red to yellow and green

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 8, 2018, 6:47am UTC](https://discuss.elastic.co/t/elk-data-note-index-creating-taking-to-much-time/118781/10 "2018-02-08T06:47:35Z")

</div>

It's a shortcut for the equivalent curl command.  
Please run the curl command.

---

<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:** [March 8, 2018, 6:47am UTC](https://discuss.elastic.co/t/elk-data-note-index-creating-taking-to-much-time/118781/11 "2018-03-08T06:47:54Z")

</div>

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