关于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\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
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值