当前位置:网站首页>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'边栏推荐
- 一款你不容错过的Laravel后台管理扩展包 —— Voyager
- 【愚公系列】2022年7月 Go教学课程 005-变量
- Hangdian oj2054 a = = B? ???
- 请问,redis没有消费消息,都在redis里堆着是怎么回事?用的是cerely 。
- Seven propagation behaviors of transactions
- IP and long integer interchange
- 最长上升子序列模型 AcWing 1012. 友好城市
- electron remote 报错
- 【网络安全】sql注入语法汇总
- Take you to master the three-tier architecture (recommended Collection)
猜你喜欢

Selenium库

Multi merchant mall system function disassembly lecture 01 - Product Architecture

内部排序——插入排序

UML sequence diagram (sequence diagram)

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

低代码平台中的数据连接方式(下)

Use day JS let time (displayed as minutes, hours, days, months, and so on)

leetcode:648. 单词替换【字典树板子 + 寻找若干前缀中的最短符合前缀】

【历史上的今天】7 月 7 日:C# 发布;Chrome OS 问世;《仙剑奇侠传》发行

UML 顺序图(时序图)
随机推荐
Source code analysis of ArrayList
Ian Goodfellow, the inventor of Gan, officially joined deepmind as research scientist
杭电oj2092 整数解
CSMA/CD 载波监听多点接入/碰撞检测协议
Navigation — 这么好用的导航框架你确定不来看看?
[AI practice] Application xgboost Xgbregressor builds air quality prediction model (II)
Notes de l'imprimante substance: paramètres pour les affichages Multi - écrans et multi - Résolutions
【立体匹配论文阅读】【三】INTS
Search engine interface
C # use TCP protocol to establish connection
Oracle Linux 9.0 正式发布
Simple use of websocket
Selenium Library
解析PHP跳出循环的方法以及continue、break、exit的区别介绍
Hands on Teaching: XML modeling
Cesium knows the longitude and latitude of one point and the distance to find the longitude and latitude of another point
常用數字信號編碼之反向不歸零碼碼、曼徹斯特編碼、差分曼徹斯特編碼
Environment configuration
最长上升子序列模型 AcWing 482. 合唱队形
Horizontal of libsgm_ path_ Interpretation of aggregation program