# Status is red. \_plugins/head return 404

**URL:** <https://discuss.elastic.co/t/status-is-red-plugins-head-return-404/134514>\
**Category:** Elasticsearch\
**Created:** [June 5, 2018, 2:54am UTC](https://discuss.elastic.co/t/status-is-red-plugins-head-return-404/134514 "2018-06-05T02:54:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sapmp1155](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@Sapmp1155](https://discuss.elastic.co/u/Sapmp1155)\
**Post date:** [June 5, 2018, 2:54am UTC](https://discuss.elastic.co/t/status-is-red-plugins-head-return-404/134514/1 "2018-06-05T02:54:49Z")

</div>

The elasticsearch process in prod currently has high CPU utilization. Would you help me understand what is going on?

[http://sarvername:9200/\_plugins/head/](http://sarvername:9200/_plugins/head/)  
Returns 404

[http://sarvername:9200/\_cluster/health?pretty=true](http://sarvername:9200/_cluster/health?pretty=true)  
{  
"cluster\_name" : "web-elasticsearch-prod",  
"status" : "red",  
"timed\_out" : false,  
"number\_of\_nodes" : 1,  
"number\_of\_data\_nodes" : 1,  
"active\_primary\_shards" : 7331,  
"active\_shards" : 7331,  
"relocating\_shards" : 0,  
"initializing\_shards" : 0,  
"unassigned\_shards" : 7341,  
"number\_of\_pending\_tasks" : 0,  
"number\_of\_in\_flight\_fetch" : 0  
}

There is also a lot of these errors in the log file.

[2018-06-04 13:48:35,973][DEBUG][action.admin.indices.stats] [servername] [applications-uat-2017.05.29][4], node[X\_eynmeNSqaktfC6FxPR-Q], [P], s[STARTED]: failed to execute [org.elasticsearch.action.admin.indices.stats.IndicesStatsRequest@79dcef21]

org.elasticsearch.ElasticsearchException: failed to refresh store stats

```
    at org.elasticsearch.index.store.Store$StoreStatsCache.refresh(Store.java:1573)

    at org.elasticsearch.index.store.Store$StoreStatsCache.refresh(Store.java:1558)

    at org.elasticsearch.common.util.SingleObjectCache.getOrRefresh(SingleObjectCache.java:55)

    at org.elasticsearch.index.store.Store.stats(Store.java:290)

    at org.elasticsearch.index.shard.IndexShard.storeStats(IndexShard.java:639)

    at org.elasticsearch.action.admin.indices.stats.CommonStats.<init>(CommonStats.java:139)

    at org.elasticsearch.action.admin.indices.stats.ShardStats.<init>(ShardStats.java:55)

    at org.elasticsearch.action.admin.indices.stats.TransportIndicesStatsAction.shardOperation(TransportIndicesStatsAction.java:208)

    at org.elasticsearch.action.admin.indices.stats.TransportIndicesStatsAction.shardOperation(TransportIndicesStatsAction.java:56)

    at org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:170)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)
```

---

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [June 5, 2018, 3:19am UTC](https://discuss.elastic.co/t/status-is-red-plugins-head-return-404/134514/2 "2018-06-05T03:19:23Z")

</div>

> [@Sapmp1155](#):
>
> "status" : "red",

es cluster red ,can't use...

---

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [June 5, 2018, 3:20am UTC](https://discuss.elastic.co/t/status-is-red-plugins-head-return-404/134514/3 "2018-06-05T03:20:51Z")

</div>

> [@Sapmp1155](#):
>
> "unassigned\_shards" : 7341,

which version of es..  
es 5.x the pluings with head is change.  
show [http://sarvername:9200/](http://sarvername:9200/) output the version of es.

---

<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:** [June 5, 2018, 5:13am UTC](https://discuss.elastic.co/t/status-is-red-plugins-head-return-404/134514/4 "2018-06-05T05:13:05Z")

</div>

> [@Sapmp1155](#):
>
> "active\_primary\_shards" : 7331,

The fact that you have unassigned shards is natural since you only have one node, but you have far too many shards for a single-node cluster. Please have a look at [this blog post](https://www.elastic.co/blog/how-many-shards-should-i-have-in-my-elasticsearch-cluster) for some guidance.

---

<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 3, 2018, 1:41pm UTC](https://discuss.elastic.co/t/status-is-red-plugins-head-return-404/134514/7 "2018-07-03T13:41:54Z")

</div>

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