解决 es CircuitBreakingException 问题
2024-09-28 11:46:37
比如频繁报如下错误,
[2019-06-16T15:31:22,778][DEBUG][o.e.a.a.c.n.i.TransportNodesInfoAction] [node-xxx] failed to execute on node [kQrOKwMhSZy8O42Hgs6sdg]
org.elasticsearch.transport.RemoteTransportException: [node-xxx][ ][cluster:monitor/nodes/info[n]]
Caused by: org.elasticsearch.common.breaker.CircuitBreakingException: [parent] Data too large, data for [<transport_request>] would be [9022404967/8.4gb], which is larger than the limit of [8995025715/8.3gb], usages [request=0/0b, fielddata=5886440013/5.4gb, in_flight_requests=2510/2.4kb, accounting=3135962444/2.9gb]
如果你google,可以搜到 https://blog.csdn.net/ypc123ypc/article/details/69944805
他那里面解决方案是调整 fielddata ,但此报错并非fielddata 缓存问题, 根本原因是[parent] 内存不够了,根据es 的文档 ,https://www.elastic.co/guide/en/elasticsearch/reference/current/circuit-breaker.html 里面写的比较清楚,
indices.breaker.total.limit
Starting limit for overall parent breaker, defaults to 70% of JVM heap if indices.breaker.total.use_real_memory is false. If indices.breaker.total.use_real_memory is true, defaults to 95% of the JVM heap.
这个值默认是70%
最新文章
- SQL拼接自己需要的字符串
- 免费SVN服务器笔记
- DDoS
- 大话immutable.js
- 全面了解 Linux 服务器 - 2. 查看 Linux 服务器的内存使用情况
- (light OJ 1005) Rooks dp
- iOS 基于UIWebView的应用特点
- 四则运算程序扩展:将程序改为java语言,并允许用户输入,对输入结果进行验证
- squid+nginx+apache
- Mac终端编译运行C++
- 条件与(&;&;)和逻辑与(&;)以及条件或(||)和逻辑或(|)区别
- ORACLE:plsql优化
- Tomcat session集群
- 像素数据YUV简介与觉存储格式介绍
- Mysql几种索引方式的区别及适用情况 (转)
- Grafana的基本使用
- springboot2.X 集成redis+消息发布订阅
- iOS --UIScrollView的学习(三)自动轮播
- 【BZOJ2763/洛谷p4563】【分层图最短路】飞行路线
- 【剑指offer】面试题 11. 旋转数组的最小数字
热门文章
- LeetCode 面试题56 - I. 数组中数字出现的次数 | Python
- (四)PL/SQL运算符
- 搭建phpMyAdmin
- 理解分布式一致性:拜占庭容错与PBFT
- 用C++模拟蚊子的运动来检验概率论内容
- 为什么LIKELY和UNLIKELY要用两个叹号
- Vue-cli3.0下的雪碧图插件webpack-spritesmith配置方法
- JavaScript实现折半查找(二分查找)
- JS异步与同步
- USACO 2.1 海明码 Hamming Codes (模拟+位运算+黑科技__builtin_popcount(n))