我们最近将弹性云部署从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内存的节点。我们想知道这个错误的原因。是因为升级的原因吗?
谢谢。
发布于 2020-09-06 08:07:08
首先,断路器是一种保护,一些请求不会将集群推向它可以处理的极限-这是杀死单个请求,而不是(潜在地)整个集群。还要注意的是,这个HTTP请求本身并不太大,但它会触发parent断路器- so这个请求放在其他所有请求之上就太多了。
最初的断路器已经在6.2.0中添加,但在7.0.0中进一步收紧。我想这就是为什么你现在看到这个(更频繁)的原因。
您可以更改indices.breaker.total.limit,但这不是从集群中获得更多资源的魔术开关。1 1GB的内存可能不足以满足您正在尝试的操作。
https://stackoverflow.com/questions/63755420
复制相似问题