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

安装过程中遇到:

问题一:

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

 error  [07:54:25.359] [warning][stats-collection] [circuit_breaking_exception] [parent] Data too large, data for [] 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 [] 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 [] 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}"}

kibana 安装 遇到的问题 1 :[circuit_breaking_exception] [parent] Data too large, data for [<http_request>] w_第1张图片

原因

方法:

数据量太大导致内存不足,可以设置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

 

 

 

 

 

你可能感兴趣的:(elasticsearch,elasticsearch,kibana,kibana安装)