当前位置:网站首页>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
边栏推荐
- Similarities and differences between switches and routers
- Common response status codes
- Source code analysis of ArrayList
- NLLB-200:Meta开源新模型,可互译200种语言
- Horizontal of libsgm_ path_ Interpretation of aggregation program
- Beginner XML
- Excuse me, does PTS have a good plan for database pressure measurement?
- 股票开户首选,炒股交易开户佣金最低网上开户安全吗
- Leetcode——344. 反转字符串/541. 反转字符串 II/151. 颠倒字符串中的单词/剑指 Offer 58 - II. 左旋转字符串
- Search engine interface
猜你喜欢
随机推荐
c#利用 TCP 协议建立连接
Docker deploy Oracle
oracle 触发器实现级联更新
Cesium knows the longitude and latitude of one point and the distance to find the longitude and latitude of another point
Laravel5 call to undefined function OpenSSL cipher IV length() error php7 failed to open OpenSSL extension
【历史上的今天】7 月 7 日:C# 发布;Chrome OS 问世;《仙剑奇侠传》发行
Search engine interface
【立体匹配论文阅读】【三】INTS
最长上升子序列模型 AcWing 482. 合唱队形
OAuth 2.0 + JWT protect API security
libSGM的horizontal_path_aggregation程序解读
ES日志报错赏析-- allow delete
2022年13个UX/UI/UE最佳创意灵感网站
WPF DataGrid realizes the UI interface to respond to a data change in a single line
OAuth 2.0 + JWT 保护API安全
杭电oj2054 A == B ? ???
How to check the ram and ROM usage of MCU through Keil
通过 iValueConverter 给datagrid 的背景颜色 动态赋值
CVPR2022 | 医学图像分析中基于频率注入的后门攻击
UML 顺序图(时序图)