# Why is my status red? 0 relocating\_shards, 0 initializing\_shards, and 0 number\_of\_pending\_tasks

**URL:** <https://discuss.elastic.co/t/why-is-my-status-red-0-relocating-shards-0-initializing-shards-and-0-number-of-pending-tasks/2730>\
**Category:** Elasticsearch\
**Created:** [June 15, 2015, 7:42pm UTC](https://discuss.elastic.co/t/why-is-my-status-red-0-relocating-shards-0-initializing-shards-and-0-number-of-pending-tasks/2730 "2015-06-15T19:42:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![asrozar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/asrozar/32/675_2.png) [@asrozar](https://discuss.elastic.co/u/asrozar)\
**Post date:** [June 15, 2015, 7:42pm UTC](https://discuss.elastic.co/t/why-is-my-status-red-0-relocating-shards-0-initializing-shards-and-0-number-of-pending-tasks/2730/1 "2015-06-15T19:42:09Z")

</div>

curl -XGET '[http://localhost:9200/\_cluster/health?pretty=true](http://localhost:9200/_cluster/health?pretty=true)'  
{  
"cluster\_name" : "elasticsearch",  
"status" : "red",  
"timed\_out" : false,  
"number\_of\_nodes" : 2,  
"number\_of\_data\_nodes" : 1,  
"active\_primary\_shards" : 710,  
"active\_shards" : 710,  
"relocating\_shards" : 0,  
"initializing\_shards" : 0,  
"unassigned\_shards" : 710,  
"number\_of\_pending\_tasks" : 0  
}

What else can I look at to see why it's red?

---

<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:** [June 15, 2015, 10:51pm UTC](https://discuss.elastic.co/t/why-is-my-status-red-0-relocating-shards-0-initializing-shards-and-0-number-of-pending-tasks/2730/2 "2015-06-15T22:51:43Z")

</div>

Did your node die for some reason?  
Do you have enough disk space?

---

<div class="post-metadata">

**Author:** ![asrozar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/asrozar/32/675_2.png) [@asrozar](https://discuss.elastic.co/u/asrozar)\
**Post date:** [June 15, 2015, 11:13pm UTC](https://discuss.elastic.co/t/why-is-my-status-red-0-relocating-shards-0-initializing-shards-and-0-number-of-pending-tasks/2730/3 "2015-06-15T23:13:34Z")

</div>

It has died before but it's been a while.

Plenty of space: (it's all in /opt/elasticsearch)  
`df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_fslsologserve-LogVol01 20G 7.1G 12G 39% / tmpfs 12G 0 12G 0% /dev/shm /dev/vda1 477M 111M 341M 25% /boot /dev/mapper/vg_fslsologserve-LogVol02 555G 137G 391G 26% /opt`

---

<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:** [June 15, 2015, 11:44pm UTC](https://discuss.elastic.co/t/why-is-my-status-red-0-relocating-shards-0-initializing-shards-and-0-number-of-pending-tasks/2730/4 "2015-06-15T23:44:27Z")

</div>

It might be worth looking at your ES logs then to see what is happening.

---

<div class="post-metadata">

**Author:** ![asrozar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/asrozar/32/675_2.png) [@asrozar](https://discuss.elastic.co/u/asrozar)\
**Post date:** [June 16, 2015, 10:47am UTC](https://discuss.elastic.co/t/why-is-my-status-red-0-relocating-shards-0-initializing-shards-and-0-number-of-pending-tasks/2730/5 "2015-06-16T10:47:47Z")

</div>

I did find this, it must be the issue because there are no other errors.

`org.elasticsearch.action.NoShardAvailableActionException: [logstash-2015.06.15][4] null1`

`curl -XGET 'localhost:9200/logstash-2015.06.15/_search_shards?pretty=true' { "nodes" : { "10FqBhDnTyWVLcEx28tnqQ" : { "name" : "FSLSO-LOGSERVER", "transport_address" : "inet[/10.10.1.55:9301]" } }, "shards" : [[ { "state" : "STARTED", "primary" : true, "node" : "10FqBhDnTyWVLcEx28tnqQ", "relocating_node" : null, "shard" : 0, "index" : "logstash-2015.06.15" }], [{ "state" : "STARTED", "primary" : true, "node" : "10FqBhDnTyWVLcEx28tnqQ", "relocating_node" : null, "shard" : 1, "index" : "logstash-2015.06.15" }], [{ "state" : "STARTED", "primary" : true, "node" : "10FqBhDnTyWVLcEx28tnqQ", "relocating_node" : null, "shard" : 2, "index" : "logstash-2015.06.15" }], [{ "state" : "STARTED", "primary" : true, "node" : "10FqBhDnTyWVLcEx28tnqQ", "relocating_node" : null, "shard" : 3, "index" : "logstash-2015.06.15" }], [{ "state" : "STARTED", "primary" : true, "node" : "10FqBhDnTyWVLcEx28tnqQ", "relocating_node" : null, "shard" : 4, "index" : "logstash-2015.06.15" }] ] }`

---

<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:** [June 16, 2015, 10:15pm UTC](https://discuss.elastic.co/t/why-is-my-status-red-0-relocating-shards-0-initializing-shards-and-0-number-of-pending-tasks/2730/6 "2015-06-16T22:15:22Z")

</div>

No, that is not the issue.

What does the output from \_cat/indices show?

---

<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:07am UTC](https://discuss.elastic.co/t/why-is-my-status-red-0-relocating-shards-0-initializing-shards-and-0-number-of-pending-tasks/2730/7 "2017-07-06T00:07:11Z")

</div>


