Status is red. _plugins/head return 404

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

Returns 404

"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.common.util.SingleObjectCache.getOrRefresh(


    at org.elasticsearch.index.shard.IndexShard.storeStats(

    at org.elasticsearch.action.admin.indices.stats.CommonStats.<init>(

    at org.elasticsearch.action.admin.indices.stats.ShardStats.<init>(

    at org.elasticsearch.action.admin.indices.stats.TransportIndicesStatsAction.shardOperation(

    at org.elasticsearch.action.admin.indices.stats.TransportIndicesStatsAction.shardOperation(


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

    at java.util.concurrent.ThreadPoolExecutor$ Source)

    at Source)

es cluster red ,can't use...

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

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 for some guidance.

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