当前位置:网站首页>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
边栏推荐
- 低代码平台中的数据连接方式(下)
- 请问,PTS对数据库压测有好方案么?
- Leetcode——236. 二叉树的最近公共祖先
- Regular expression integer positive integer some basic expressions
- How can the PC page call QQ for online chat?
- NLLB-200:Meta开源新模型,可互译200种语言
- Excuse me, as shown in the figure, the python cloud function prompt uses the pymysql module. What's the matter?
- [AI practice] Application xgboost Xgbregressor builds air quality prediction model (II)
- Beginner XML
- Selenium Library
猜你喜欢

Démontage de la fonction du système multi - Merchant Mall 01 - architecture du produit

Simple use of websocket

最长上升子序列模型 AcWing 482. 合唱队形

OAuth 2.0 + JWT protect API security

Codes de non - retour à zéro inversés, codes Manchester et codes Manchester différentiels couramment utilisés pour le codage des signaux numériques

通过 iValueConverter 给datagrid 的背景颜色 动态赋值

Applet directory structure

LeetCode每日一题(636. Exclusive Time of Functions)

Mmkv use and principle

最长上升子序列模型 AcWing 1014. 登山
随机推荐
最长上升子序列模型 AcWing 1014. 登山
交换机和路由器的异同
Vscode configuration uses pylint syntax checker
IP and long integer interchange
Reverse non return to zero code, Manchester code and differential Manchester code of common digital signal coding
Wired network IP address of VMware shared host
昇腾体验官第五期随手记I
Excuse me, as shown in the figure, the python cloud function prompt uses the pymysql module. What's the matter?
请问,PTS对数据库压测有好方案么?
Simple use of websocket
How can the PC page call QQ for online chat?
小程序目录结构
The longest ascending subsequence model acwing 482 Chorus formation
【服务器数据恢复】某品牌StorageWorks服务器raid数据恢复案例
The longest ascending subsequence model acwing 1012 Sister cities
Mmkv use and principle
Source code analysis of ArrayList
杭电oj2092 整数解
PERT图(工程网络图)
设备故障预测机床故障提前预警机械设备振动监测机床故障预警CNC震动无线监控设备异常提前预警