Elasticsearch High CPU

Elasticsearch High CPU

Opster Team

July 2020, Version: 1.7-7.9

Before you begin reading the explanation below, try running the free Elasticsearch Health Check-Up get actionable recommendations that can improve Elasticsearch performance and prevent serious incidents. Just 2 minutes to complete and you can check threadpools, memory, snapshots and many more.

What does it mean?

High CPU is often a symptom of other underlying issues, and as such there are a number of possible causes for it.

Causes of high CPU should be investigated and fixed, because a distressed node will at best slow down query response times resulting in time outs for clients, and at worst cause the node to disconnect and be lost from the cluster altogether.

How to resolve

To minimize the impact of distressed nodes on your search queries, make sure you have the following setting on your cluster (version 6.1 and above):

PUT /_cluster/settings
  "transient": {
    "cluster.routing.use_adaptive_replica_selection": true

Below are some guides that can assist you in resolving this issue:

Improve ES Configuration

Try The Tool