当前位置:网站首页>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'边栏推荐
猜你喜欢

OAuth 2.0 + JWT 保护API安全

libSGM的horizontal_path_aggregation程序解读

Parsing of XML files

【愚公系列】2022年7月 Go教学课程 005-变量

PERT图(工程网络图)

AutoCAD - how to input angle dimensions and CAD diameter symbols greater than 180 degrees?

Navigation - are you sure you want to take a look at such an easy-to-use navigation framework?

最长上升子序列模型 AcWing 1012. 友好城市

Horizontal of libsgm_ path_ Interpretation of aggregation program

Vscode configuration uses pylint syntax checker
随机推荐
JS get the current time, month, day, year, and the uniapp location applet opens the map to select the location
How to check the ram and ROM usage of MCU through Keil
Mmkv use and principle
Substance Painter筆記:多顯示器且多分辨率顯示器時的設置
IP and long integer interchange
低代码平台中的数据连接方式(下)
electron remote 报错
KITTI数据集简介与使用
Data connection mode in low code platform (Part 2)
PERT图(工程网络图)
一文读懂数仓中的pg_stat
Leetcode——剑指 Offer 05. 替换空格
常用数字信号编码之反向不归零码码、曼彻斯特编码、差分曼彻斯特编码
最长上升子序列模型 AcWing 482. 合唱队形
GAN发明者Ian Goodfellow正式加入DeepMind,任Research Scientist
Mrs offline data analysis: process OBS data through Flink job
Leetcode——236. The nearest common ancestor of binary tree
一个简单LEGv8处理器的Verilog实现【四】【单周期实现基础知识及模块设计讲解】
Common response status codes
CSMA/CD 载波监听多点接入/碰撞检测协议