提问者:小点点

弹性云Circuit_breaking_exception


我们最近将弹性云部署从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内存的节点,我们想知道这个错误的原因,是升级导致的吗?

谢谢你。


共1个答案

匿名用户

首先,断路器是一种保护,某些请求不会将您的集群推向它可以处理的极限——这会杀死单个请求,而不是(潜在地)整个集群。另请注意,仅此HTTP请求并不太大,但它会触发断路器-

最初的断路器已经在6.2.0中添加,但在7.0.0中进一步收紧。我想这就是你现在(更频繁地)看到这个的原因。

您可以更改indices.breaker.total. limited,但这不是从集群中获取更多信息的神奇开关。1GB的内存可能不足以满足您的需求。