ElasticSearch因磁盘空间不足异常中止服务

前台日志:

[2021-02-20T16:57:32,332][INFO ][o.e.c.r.a.DiskThresholdMonitor] [node-1] low disk watermark [85%] exceeded on [qdXzCxNDTFe9UHzoCEzHJA][node-1][/data/server/elasticsearch/data/nodes/0] free: 9.6gb[10.7%], replicas will not be assigned to this node
[2021-02-20T16:58:02,417][INFO ][o.e.c.r.a.DiskThresholdMonitor] [node-1] low disk watermark [85%] exceeded on [qdXzCxNDTFe9UHzoCEzHJA][node-1][/data/server/elasticsearch/data/nodes/0] free: 9.6gb[10.7%], replicas will not be assigned to this node
[2021-02-20T16:58:32,463][INFO ][o.e.c.r.a.DiskThresholdMonitor] [node-1] low disk watermark [85%] exceeded on [qdXzCxNDTFe9UHzoCEzHJA][node-1][/data/server/elasticsearch/data/nodes/0] free: 9.6gb[10.7%], replicas will not be assigned to this node
[2021-02-20T16:59:02,509][INFO ][o.e.c.r.a.DiskThresholdMonitor] [node-1] low disk watermark [85%] exceeded on [qdXzCxNDTFe9UHzoCEzHJA][node-1][/data/server/elasticsearch/data/nodes/0] free: 9.6gb[10.7%], replicas will not be assigned to this node
[2021-02-20T16:59:32,577][INFO ][o.e.c.r.a.DiskThresholdMonitor] [node-1] low disk watermark [85%] exceeded on [qdXzCxNDTFe9UHzoCEzHJA][node-1][/data/server/elasticsearch/data/nodes/0] free: 9.6gb[10.7%], replicas will not be assigned to this node

解决办法,在elasticsearch.yml里面加入三行

cluster.routing.allocation.disk.threshold_enabled: false
#cluster.routing.allocation.disk.watermark.low: 30gb
#cluster.routing.allocation.disk.watermark.high: 20gb
上一篇 Kibana Grok 调试工具使用
下一篇 ElasticSearch 常见异常
目录
文章列表
1 CentOS下PHP 7.4 快速安装
CentOS下PHP 7.4 快速安装
2
shell通过sed提取xml标签值
shell通过sed提取xml标签值
3
Amazon RDS无法执行SET GLOBAL命令
Amazon RDS无法执行SET GLOBAL命令
4
Vue Cli 生成的项目性能优化总结
Vue Cli 生成的项目性能优化总结
5
MathJax支持的Latex符号总结
MathJax支持的Latex符号总结
最新评论
一位WordPress评论者
一位WordPress评论者
2月12日
您好,这是一条评论。若需要审核、编辑或删除评论,请访问仪表盘的评论界面。评论者头像来自 Gravatar。