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 Android 7.0及以上FileProvider巨坑Failed to find configured root that contains
Android 7.0及以上FileProvider巨坑Failed to find configured root that contains
2
比 Kubernetes Dashboard 更好用的管理工具 - Kuboard
比 Kubernetes Dashboard 更好用的管理工具 - Kuboard
3
MySQL修改时区的方法小结
MySQL修改时区的方法小结
4
GreenDao insert 解决 PRIMARY KEY must be unique
GreenDao insert 解决 PRIMARY KEY must be unique
5
Linux系统上安装OpenOffice4
Linux系统上安装OpenOffice4
最新评论
一位WordPress评论者
一位WordPress评论者
2月12日
您好,这是一条评论。若需要审核、编辑或删除评论,请访问仪表盘的评论界面。评论者头像来自 Gravatar。