当前位置:网站首页>ES日志报错赏析-maximum shards open
ES日志报错赏析-maximum shards open
2022-07-07 12:38:00 【ES小助理】
报错现象
this action would add [1] total shards, but this cluster currently has [29998]/[3000] maximum shay ds open报错解析
单个节点的索引分片有最大数限制,超出限制后会导致无法新增分片
解决方案
查看当前集群单个节点可容纳的最大分片数
GET _cluster/settings?include_defaults&flat_settings搜索:cluster.max_shards_per_node
根据集群情况,调整最大分片数大小,注意,这里调整的是单个节点最大分片数,集群的最大总分片数需要用单节点最大分片数*节点数
调整样例:
Kibana方式:
PUT _cluster/settings
{
"transient":{
"cluster.max_shards_per_node":"2000"
}
}Curl方式:
curl -XPUT -H "Content-Type:application/json" --user user:password -d '{"persistent":{"cluster":{"max_shards_per_node":10000}}}' 'http://ip:port/_cluster/settings'边栏推荐
猜你喜欢

VSCode 配置使用 PyLint 语法检查器

Take you to master the three-tier architecture (recommended Collection)

Introduction to sakt method

XML文件的解析操作

Notes de l'imprimante substance: paramètres pour les affichages Multi - écrans et multi - Résolutions

潘多拉 IOT 开发板学习(HAL 库)—— 实验12 RTC实时时钟实验(学习笔记)

云上“视界” 创新无限 | 2022阿里云直播峰会正式上线
![GVIM [III] [u vimrc configuration]](/img/82/38355d7914e5fe490546347e57e35d.png)
GVIM [III] [u vimrc configuration]

Mrs offline data analysis: process OBS data through Flink job

小程序目录结构
随机推荐
Beginner XML
Regular expression integer positive integer some basic expressions
通过 iValueConverter 给datagrid 的背景颜色 动态赋值
常用數字信號編碼之反向不歸零碼碼、曼徹斯特編碼、差分曼徹斯特編碼
最长上升子序列模型 AcWing 1014. 登山
Navigation — 这么好用的导航框架你确定不来看看?
c#利用 TCP 协议建立连接
Excuse me, when using Flink SQL sink data to Kafka, the execution is successful, but there is no number in Kafka
Mmkv use and principle
Use day JS let time (displayed as minutes, hours, days, months, and so on)
[AI practice] Application xgboost Xgbregressor builds air quality prediction model (II)
Ian Goodfellow, the inventor of Gan, officially joined deepmind as research scientist
Cascading update with Oracle trigger
The longest ascending subsequence model acwing 482 Chorus formation
CVPR2022 | 医学图像分析中基于频率注入的后门攻击
Use case diagram
Oracle non automatic submission solution
潘多拉 IOT 开发板学习(HAL 库)—— 实验12 RTC实时时钟实验(学习笔记)
C # switch pages through frame and page
Substance Painter筆記:多顯示器且多分辨率顯示器時的設置