当前位置:网站首页>ES日志报错赏析-trying to create too many buckets
ES日志报错赏析-trying to create too many buckets
2022-07-07 12:37:00 【ES小助理】
报错现象
trying to create too many buckets. must be less than or equal to: [100000] but was [100001]. this limit can be set by changing the [search.max_buckets] cluster level setting.
复制
报错解析
聚集桶默认为10000,查询超过的时候,就会报错,导致查询失败。
由于Bucket aggregations查询操作比较消耗内存,如果聚集桶过多,频率较大时,很容易导致集群JVM内存不足,进而产生查询熔断。这里建议出现此问题后及时进行业务查询的整改,临时可通过如下解决方案进行临时放开限制。
解决方案
1-调整集群最大聚集桶配置,临时解决问题
PUT _cluster/settings
{
"persistent": {
"search.max_buckets": 11000
}
}
官网文档参考:
https://www.elastic.co/guide/en/elasticsearch/reference/7.16/search-settings.html#search-settings-max-buckets
边栏推荐
- 多商户商城系统功能拆解01讲-产品架构
- 最长上升子序列模型 AcWing 482. 合唱队形
- 杭电oj2092 整数解
- Internal sort - insert sort
- Hangdian oj2092 integer solution
- 设备故障预测机床故障提前预警机械设备振动监测机床故障预警CNC震动无线监控设备异常提前预警
- wpf dataGrid 实现单行某个数据变化 ui 界面随之响应
- CSMA/CD 载波监听多点接入/碰撞检测协议
- Details of redis core data structure & new features of redis 6
- 一个简单LEGv8处理器的Verilog实现【四】【单周期实现基础知识及模块设计讲解】
猜你喜欢
随机推荐
Navigation — 这么好用的导航框架你确定不来看看?
今日睡眠质量记录78分
Excuse me, I have three partitions in Kafka, and the flinksql task has written the join operation. How can I give the join operation alone
CSMA/CD 载波监听多点接入/碰撞检测协议
JS get the current time, month, day, year, and the uniapp location applet opens the map to select the location
UML sequence diagram (sequence diagram)
Leetcode——剑指 Offer 05. 替换空格
oracle 触发器实现级联更新
Cascading update with Oracle trigger
【服务器数据恢复】某品牌StorageWorks服务器raid数据恢复案例
c#通过frame 和 page 切换页面
Common response status codes
低代码平台中的数据连接方式(下)
LeetCode每日一题(636. Exclusive Time of Functions)
IP and long integer interchange
GAN发明者Ian Goodfellow正式加入DeepMind,任Research Scientist
【立体匹配论文阅读】【三】INTS
Arm cortex-a9, mcimx6u7cvm08ad processor application
[network security] SQL injection syntax summary
Is the compass stock software reliable? Is it safe to trade stocks?