当前位置:网站首页>Es log error appreciation -maximum shards open
Es log error appreciation -maximum shards open
2022-07-07 14:31:00 【Es assistant】
Error reporting
this action would add [1] total shards, but this cluster currently has [29998]/[3000] maximum shay ds open
Error reporting analysis
There is a maximum number of index shards for a single node , If the limit is exceeded, it will result in the inability to add new partitions
Solution
View the maximum number of shards that can be accommodated by a single node of the current cluster
GET _cluster/settings?include_defaults&flat_settings
Search for :cluster.max_shards_per_node
According to the cluster situation , Adjust the maximum number of slices , Be careful , Here, the maximum number of slices of a single node is adjusted , The maximum total number of partitions of the cluster needs to use the maximum number of partitions of a single node * Number of nodes
Adjustment example :
Kibana The way :
PUT _cluster/settings
{
"transient":{
"cluster.max_shards_per_node":"2000"
}
}
Curl The way :
curl -XPUT -H "Content-Type:application/json" --user user:password -d '{"persistent":{"cluster":{"max_shards_per_node":10000}}}' 'http://ip:port/_cluster/settings'
边栏推荐
- wpf dataGrid 实现单行某个数据变化 ui 界面随之响应
- Substance painter notes: settings for multi display and multi-resolution displays
- The longest ascending subsequence model acwing 1012 Sister cities
- Applet directory structure
- Hands on Teaching: XML modeling
- Leetcode——344. Reverse string /541 Invert string ii/151 Reverse the word / Sword finger in the string offer 58 - ii Rotate string left
- 【服务器数据恢复】某品牌StorageWorks服务器raid数据恢复案例
- gvim【三】【_vimrc配置】
- c#利用 TCP 协议建立连接
- 2022PAGC 金帆奖 | 融云荣膺「年度杰出产品技术服务商」
猜你喜欢
随机推荐
Arm cortex-a9, mcimx6u7cvm08ad processor application
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
NLLB-200:Meta开源新模型,可互译200种语言
Leetcode - Sword finger offer 05 Replace spaces
请问,PTS对数据库压测有好方案么?
Simple use of websocket
MicTR01 Tester 振弦采集模块开发套件使用说明
Oracle non automatic submission solution
2022PAGC 金帆奖 | 融云荣膺「年度杰出产品技术服务商」
c#通过frame 和 page 切换页面
Cesium knows the longitude and latitude of one point and the distance to find the longitude and latitude of another point
The longest ascending subsequence model acwing 482 Chorus formation
Leetcode——剑指 Offer 05. 替换空格
Million data document access of course design
常用数字信号编码之反向不归零码码、曼彻斯特编码、差分曼彻斯特编码
NDK beginner's study (1)
JS image to Base64
IP and long integer interchange
ndk初学习(一)
Navigation — 这么好用的导航框架你确定不来看看?