High disk watermark exceeded even when there is not much data in my index

后端 未结 6 590
孤独总比滥情好
孤独总比滥情好 2020-12-13 17:44

I\'m using elasticsearch on my local machine. The data directory is only 37MB in size but when I check logs, I can see:

[2015-05-17 21:31:12,905][WARN

6条回答
  •  情书的邮戳
    2020-12-13 18:20

    Instead of percentage I use absolute values and rise values for better space use (in pre-prod):

    PUT _cluster/settings
    {
      "persistent": {
        "cluster.routing.allocation.disk.threshold_enabled": true,
        "cluster.routing.allocation.disk.watermark.low": "1g",
        "cluster.routing.allocation.disk.watermark.high": "500m",
        "cluster.info.update.interval": "5m" 
      }
    }
    

    Also I reduce pooling interval to make ES logs shorter ))

提交回复
热议问题