elasticsearch的堆内存过低,启动kibana报Data too large问题
提示:这里简述项目相关背景:
本人再安装es工具kiana的时候启动报错,es-header连接数据卡顿。
问题描述
提示:这里描述项目中遇到的问题:
例如:数据传输过程中数据不时出现丢失的情况,偶尔会丢失一部分数据
APP 中接收数据代码:
FATAL [circuit_breaking_exception] [parent] Data too large,data for [<HTTP_Request>] would be [250592200/238.9mb],which is larger than the limit of [246546432/235.1mb],real usage: [250592200/238.9mb],new bytes reserved: [0/0b],usages [request=16512/16.1kb,fIElddata=11330/11kb,in_flight_requests=0/0b,accounting=7160235/6.8mb],with { bytes_wanted=250592200 & bytes_limit=246546432 & durability="PERMANENT" } :: {"path":"/.kibana","query":{},"statusCode":429,"response":"{\"error\":{\"root_cause\":[{\"type\":\"circuit_breaking_exception\",\"reason\":\"[parent] Data too large,data for [<HTTP_Request>] would be [250592200/238.9mb],which is larger than the limit of [246546432/235.1mb],accounting=7160235/6.8mb]\",\"bytes_wanted\":250592200,\"bytes_limit\":246546432,\"durability\":\"PERMANENT\"}],\"type\":\"circuit_breaking_exception\",\"durability\":\"PERMANENT\"},\"status\":429}"}
原因分析:
提示:这里填写问题的分析:
es设置的堆内存最大值和初始堆内存太小
解决方案:
提示:这里填写该问题的具体解决方案:
把es集群先停掉
修改 jvm.options 文件,文件路径:es下的config目录下
增大文件下的-Xms和-Xmx即可