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 OKHttp3学习之四:POST请求(Form表单形式)
OKHttp3学习之四:POST请求(Form表单形式)
2
Swift - 文件及文件夹操作大全
Swift - 文件及文件夹操作大全
3
Redis 事务
Redis 事务
4
React Native学习之ProgressBar组件
React Native学习之ProgressBar组件
5
scp通过代理proxy代理传输文件
scp通过代理proxy代理传输文件
最新评论
一位WordPress评论者
一位WordPress评论者
2月12日
您好,这是一条评论。若需要审核、编辑或删除评论,请访问仪表盘的评论界面。评论者头像来自 Gravatar。