弹性云电路\u中断\u异常

pqwbnv8z  于 2021-06-14  发布在  ElasticSearch
关注(0)|答案(1)|浏览(322)

我们最近将弹性云部署从6.8.5升级到了7.9,升级后我们不时会看到以下错误。

{
  "error" : {
    "root_cause" : [
      {
        "type" : "circuit_breaking_exception",
        "reason" : "[parent] Data too large, data for [<http_request>] would be [416906520/397.5mb], which is larger than the limit of [408420352/389.5mb], real usage: [416906520/397.5mb], new bytes reserved: [0/0b], usages [request=0/0b, fielddata=32399/31.6kb, in_flight_requests=0/0b, model_inference=0/0b, accounting=4714192/4.4mb]",
        "bytes_wanted" : 416906520,
        "bytes_limit" : 408420352,
        "durability" : "PERMANENT"
      }
    ],
    "type" : "circuit_breaking_exception",
    "reason" : "[parent] Data too large, data for [<http_request>] would be [416906520/397.5mb], which is larger than the limit of [408420352/389.5mb], real usage: [416906520/397.5mb], new bytes reserved: [0/0b], usages [request=0/0b, fielddata=32399/31.6kb, in_flight_requests=0/0b, model_inference=0/0b, accounting=4714192/4.4mb]",
    "bytes_wanted" : 416906520,
    "bytes_limit" : 408420352,
    "durability" : "PERMANENT"
  },
  "status" : 429
}

此部署仅包含一个具有1g内存的节点。我们想知道这个错误的原因。是因为升级吗?
谢谢您。

uxhixvfz

uxhixvfz1#

首先,断路器是一种保护,某些请求不会将您的集群推到它所能处理的极限之上——这是杀死单个请求,而不是(可能)整个集群。还请注意,仅此http请求并不太大,但它会使 parent 断路器- 所以这个要求再加上其他要求就太多了。
最初的断路器在6.2.0中已经添加,但在7.0.0中进一步拧紧。我想这就是为什么你现在看到这个(更频繁)的原因。
你可以改变主意 indices.breaker.total.limit ,但这并不是从集群中获取更多信息的神奇开关。1gb的内存可能不足以满足您的需要。

相关问题