Linux   发布时间:2022-03-31  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了【Linux】【Kibana】解决Kibana启动失败:Data too large问题大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

  今天重启Kibana容器,结果启动不了,一看日志发现是Data数据量太大报错。 FATAL [circuiT_Breaking_exception] [parent] Data too large, data for [<http_request>] would be [250592200/238.9mb], which is larger than the limit of [246546

  今天重启Kibana容器,结果启动不了,一看日志发现是Data数据量太大报错。

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}"}

  数据量太大导致内存不足,可以设置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的用户验证,没有设置可以不加

【Linux】【Kibana】解决Kibana启动失败:Data too large问题

大佬总结

以上是大佬教程为你收集整理的【Linux】【Kibana】解决Kibana启动失败:Data too large问题全部内容,希望文章能够帮你解决【Linux】【Kibana】解决Kibana启动失败:Data too large问题所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。