# Elasticsearch node takes a time to come in yellow or green state after start

**URL:** <https://discuss.elastic.co/t/elasticsearch-node-takes-a-time-to-come-in-yellow-or-green-state-after-start/162028>\
**Category:** Elasticsearch\
**Created:** [December 24, 2018, 8:04pm UTC](https://discuss.elastic.co/t/elasticsearch-node-takes-a-time-to-come-in-yellow-or-green-state-after-start/162028 "2018-12-24T20:04:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amol\_sonawane1](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@amol\_sonawane1](https://discuss.elastic.co/u/amol_sonawane1)\
**Post date:** [December 24, 2018, 8:04pm UTC](https://discuss.elastic.co/t/elasticsearch-node-takes-a-time-to-come-in-yellow-or-green-state-after-start/162028/1 "2018-12-24T20:04:58Z")

</div>

Elasticsearch node takes a time to come in yellow or green state after the start  
ES cluster details: Single node with one index and 10 shards.

ES is taking 6-7 minutes to come in the yellow or green state every time when starts.

The data folder size is 15 GB. As the size of data folder increases, it takes more time.

elasticsearch.yml properties:  
thread\_pool.search.queue\_size: 5000

thread\_pool.bulk.queue\_size: 1000  
indices.query.bool.max\_clause\_count: 25000  
transport.connections\_per\_node.bulk: 10  
indices.fielddata.cache.size: 1m  
indices.queries.cache.size: 1m  
indices.recovery.max\_bytes\_per\_sec : 200mb

discovery.zen.fd.ping\_interval: 30s  
discovery.zen.fd.ping\_timeout: 30s  
discovery.zen.fd.ping\_retries: 4  
discovery.zen.commit\_timeout: 120s

cluster.routing.allocation.node\_concurrent\_recoveries: 5

script.inline: true  
script.stored: true  
script.max\_compilations\_per\_minute: 200

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [December 25, 2018, 5:50am UTC](https://discuss.elastic.co/t/elasticsearch-node-takes-a-time-to-come-in-yellow-or-green-state-after-start/162028/2 "2018-12-25T05:50:52Z")

</div>

Why have you overridden the default settings? What led you to these values? How long does it take if you use default options? What is the output of the [cluster health API](https://www.elastic.co/guide/en/elasticsearch/reference/6.5/cluster-health.html)?

---

<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 22, 2019, 5:51am UTC](https://discuss.elastic.co/t/elasticsearch-node-takes-a-time-to-come-in-yellow-or-green-state-after-start/162028/3 "2019-01-22T05:51:05Z")

</div>

Closed on January 22, 2019, 5:51am UTC

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