简体   繁体   English

Elasticsearch负载分布不均

[英]Elasticsearch load is not distributed evenly

I am facing strange issue with Elasticsearch. 我面临着Elasticsearch的奇怪问题。 I have 8 nodes with same configurations (16GB RAM and 8 core CPU). 我有8个具有相同配置的节点(16GB RAM和8个核心CPU)。

One node "es53node6" has always high load as shown in the screenshot below. 一个节点“ es53node6”始终具有较高的负载,如下面的屏幕快照所示。 Also 5-6 nodes were getting stopped yesterday automatically after every 3-4 hours. 每隔3-4小时,昨天也会自动停止5-6个节点。

What could be the reason? 可能是什么原因?

在此处输入图片说明

ES version : 5.3 ES版本:5.3

there can be a fair share of reasons. 可能有很多原因。 Maybe all data is stored on that node (which should not happen by default), maybe you are sending all the requests to this single node. 也许所有数据都存储在该节点上(默认情况下不会发生),也许您正在将所有请求发送到该单个节点。

Also, there is no automatic stopping of Elasticsearch built-in. 此外,没有自动停止内置的Elasticsearch。 You can configure Elasticsearch that it stops the JVM process when an out-of-memory exception occurs, but this is not enabled by default as it relies on a more recent JVM. 您可以配置Elasticsearch,使其在发生内存不足异常时停止JVM进程,但是默认情况下未启用它,因为它依赖于最新的JVM。

You can use the hot threads API to check where the CPU time is spent in Elasticsearch. 您可以使用热线程API检查Elasticsearch中的CPU时间。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM