关于Elasticsearch集群告警low disk watermark [85%] exceeded on/replicas will not be assigned to this node
问题描述:在做es集群添加索引的时候添加不上日志信息: low disk watermark [85%] exceeded on [E8MIIuMBQRWk-BxWB57uMA][xc_node_1][D:\software\develop_software\elasticsearch\elasticsearch-6.2.1-1\data\nodes\
·
问题描述:
在做es集群添加索引的时候添加不上
日志信息:
low disk watermark [85%] exceeded on [E8MIIuMBQRWk-BxWB57uMA][xc_node_1][D:\software\develop_software\elasticsearch\elasticsearch-6.2.1-1\data\nodes\0] free: 55.2gb[14.7%], replicas will not be assigned to this node
问题分析:
根据日志信息,提示是因为磁盘超过85%,查阅资料后发现,磁盘空间到达85%时,es会将节点上面的索引标为只读,导致不能写入数据
解决方式:
1. 调整磁盘空间比例(使用百分比或gb)
cluster.routing.allocation.disk.watermark.low: 30g
cluster.routing.allocation.disk.watermark.high: 20gb
2. 关闭阀值设置
cluster.routing.allocation.disk.threshold_enabled: false
更多推荐
已为社区贡献3条内容
所有评论(0)