kibana 安装 遇到的问题 1 :[circuit_breaking_exception] [parent] Data too large, data for [<http_request>] w

安装过程中遇到:

问题一:

[circuit_breaking_exception] [parent] Data too large, data for [<http_request>] would be 

 error  [07:54:25.359] [warning][stats-collection] [circuit_breaking_exception] [parent] Data too large, data for [<http_request>] would be [128515190/122.5mb], which is larger than the limit of [123273216/117.5mb], real usage: [128514848/122.5mb], new bytes reserved: [342/342b], usages [request=0/0b, fielddata=1268/1.2kb, in_flight_requests=342/342b, accounting=21957/21.4kb], with { bytes_wanted=128515190 & bytes_limit=123273216 & durability="PERMANENT" } :: {"path":"/.kibana_task_manager/_search","query":{"ignore_unavailable":true},"body":"{\"sort\":[{\"task.runAt\":\"asc\"},{\"_id\":\"desc\"}],\"query\":{\"bool\":{\"must\":[{\"term\":{\"type\":\"task\"}},{\"bool\":{\"filter\":{\"term\":{\"_id\":\"task:oss_telemetry-vis_telemetry\"}}}}]}}}","statusCode":429,"response":"{\"error\":{\"root_cause\":[{\"type\":\"circuit_breaking_exception\",\"reason\":\"[parent] Data too large, data for [<http_request>] would be [128515190/122.5mb], which is larger than the limit of [123273216/117.5mb], real usage: [128514848/122.5mb], new bytes reserved: [342/342b], usages [request=0/0b, fielddata=1268/1.2kb, in_flight_requests=342/342b, accounting=21957/21.4kb]\",\"bytes_wanted\":128515190,\"bytes_limit\":123273216,\"durability\":\"PERMANENT\"}],\"type\":\"circuit_breaking_exception\",\"reason\":\"[parent] Data too large, data for [<http_request>] would be [128515190/122.5mb], which is larger than the limit of [123273216/117.5mb], real usage: [128514848/122.5mb], new bytes reserved: [342/342b], usages [request=0/0b, fielddata=1268/1.2kb, in_flight_requests=342/342b, accounting=21957/21.4kb]\",\"bytes_wanted\":128515190,\"bytes_limit\":123273216,\"durability\":\"PERMANENT\"},\"status\":429}"}

原因

方法:

数据量太大导致内存不足,可以设置fielddata的内存限制,默认60%

curl -u elastic -XPUT "ip:port/_cluster/settings" -H 'Content-Type: application/json' -d '{ "persistent" : { "indices.breaker.fielddata.limit" : "40%" } }'
-u elastic 为elasticsearch的用户验证,没有设置可以不加


或者   直接用post:

http://192.168.153.128:9200/_cluster/settings

put:

{
"persistent" : {
"indices.breaker.fielddata.limit" : "40%"
}
}
  •  

我的直接设置成30%,还是报错,后面又改了es的jvm内存(jvm.options)为256M

没有问题了。

下面链接讲得比较清楚:

https://blog.csdn.net/sdlyjzh/article/details/48035723

 

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值