Elasticsearch-circuit_breaking_exception [parent] Data too large, data for [<http_request>]

2021-08-17 16:32:45 浏览数 (1)


异常信息

代码语言:javascript复制
{"root_cause":[{"type":"circuit_breaking_exception",
"reason":"[parent] Data too large, data for [<http_request>] would be [2904434582/2.7gb], which is larger than the limit of [2856189952/2.6gb], 
real usage: [2904434088/2.7gb],
new bytes reserved: [494/494b], 
usages [request=0/0b, fielddata=982500/959.4kb, in_flight_requests=494/494b, accounting=1348314/1.2mb]",
"bytes_wanted":2904434582,
"bytes_limit":2856189952,
"durability":"PERMANENT"}]

what’s [parent] ?


不同版本的配置的差异

之前用的6.4 ,后来升级到7.6以后,测试环境 es内存 4G , 时不时地来一下…


ES6.4

https://www.elastic.co/guide/en/elasticsearch/reference/6.4/circuit-breaker.html#circuit-breaker


ES7.6

https://www.elastic.co/guide/en/elasticsearch/reference/7.6/circuit-breaker.html#circuit-breaker


Solutions

增加

代码语言:javascript复制
indices.breaker.total.use_real_memory: false 

重启ES

0 人点赞