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
版权声明:
作者:Joe.Ye
链接:https://www.appblog.cn/index.php/2023/03/25/elasticsearch-aborted-service-due-to-insufficient-disk-space/
来源:APP全栈技术分享
文章版权归作者所有,未经允许请勿转载。
THE END
0
二维码
打赏
海报
ElasticSearch因磁盘空间不足异常中止服务
前台日志:
[2021-02-20T16:57:32,332][INFO ][o.e.c.r.a.DiskThresholdMonitor] [node-1] low disk watermark [85%] exceeded on [qdXzCxNDTFe9UHzoCEzHJA][n……
文章目录
关闭
共有 0 条评论