当前位置:网站首页>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'
边栏推荐
- Clickhouse (03) how to install and deploy Clickhouse
- 今日睡眠质量记录78分
- 3D detection: fast visualization of 3D box and point cloud
- Cesium 已知一点经纬度和距离求另一个点的经纬度
- UML state diagram
- OAuth 2.0 + JWT 保护API安全
- 数据流图,数据字典
- 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
- Million data document access of course design
- Regular expression integer positive integer some basic expressions
猜你喜欢
随机推荐
Bashrc and profile
最长上升子序列模型 AcWing 1012. 友好城市
Selenium库
请问,我kafka 3个分区,flinksql 任务中 写了 join操作,,我怎么单独给join
2022年13个UX/UI/UE最佳创意灵感网站
Docker deploy Oracle
Differences between cookies and sessions
Internal sort - insert sort
SAKT方法部分介绍
Equipment failure prediction machine failure early warning mechanical equipment vibration monitoring machine failure early warning CNC vibration wireless monitoring equipment abnormal early warning
libSGM的horizontal_path_aggregation程序解读
Excuse me, as shown in the figure, the python cloud function prompt uses the pymysql module. What's the matter?
Leetcode - Sword finger offer 05 Replace spaces
OAuth 2.0 + JWT protect API security
Million data document access of course design
低代码平台中的数据连接方式(下)
ndk初学习(一)
解析PHP跳出循环的方法以及continue、break、exit的区别介绍
Navigation — 这么好用的导航框架你确定不来看看?
Applet directory structure