Why All shards failed

why my Kibana like this... help please! version is 7.1.1
{
** "message": "all shards failed: [search_phase_execution_exception] all shards failed",**
** "statusCode": 503,**
** "error": "Service Unavailable"**
}

and cluster status is red...

curl -XGET http://127.0.0.1:9200/_cluster/health?pretty=true
{
"cluster_name" : "npcflow",
"status" : "red",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 1491,
"active_shards" : 1491,
"relocating_shards" : 0,
"initializing_shards" : 4,
"unassigned_shards" : 69,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 181,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 16073,
"active_shards_percent_as_number" : 95.33248081841433
}

You probably have too many shards per node.

May I suggest you look at the following resources about sizing:

https://www.elastic.co/elasticon/conf/2016/sf/quantitative-cluster-sizing

And https://www.elastic.co/webinars/using-rally-to-get-your-elasticsearch-cluster-size-right

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