High disk watermark [90%] exceeded on

Nexus repository is showing time out error. when i checked the log in server i am getting below error in my windows server. can u guys pls help on this…

2020-07-21 13:27:20,137+0530 WARN [elasticsearch[34EC6209-FB80C25F-8A2EEF73-1D148143-DF0FC8FB][management][T#2]] *SYSTEM org.elasticsearch.cluster.routing.allocation.decider - [34EC6209-FB80C25F-8A2EEF73-1D148143-DF0FC8FB] high disk watermark [90%] exceeded on [Au-9GahTTPSq_C7ng-ZcvQ][34EC6209-FB80C25F-8A2EEF73-1D148143-DF0FC8FB][D:\Nexus3\sonatype-work\nexus3\elasticsearch\nexus\nodes\0] free: 8.5gb[0.4%], shards will be relocated away from this node
2020-07-21 13:27:20,137+0530 INFO [elasticsearch[34EC6209-FB80C25F-8A2EEF73-1D148143-DF0FC8FB][management][T#2]] *SYSTEM org.elasticsearch.cluster.routing.allocation.decider - [34EC6209-FB80C25F-8A2EEF73-1D148143-DF0FC8FB] rerouting shards: [high disk watermark exceeded on one or more nodes]

1 Like

It sounds like your disk doesn’t have much space left on it. You should really try to free more space, if the disk fills your database may be corrupted.

I’m not agree managing high disk watermark with percentage, because the limit grows with the disk dimension; following my case, with 292GB availables

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 3.1T 2.8T 292G 91% /

Is it possible to set a fixed value in the configuration?
For example, I found these kind of configurations:
cluster.routing.allocation.disk.threshold_enabled: true
cluster.routing.allocation.disk.watermark.low: 5gb
cluster.routing.allocation.disk.watermark.high: 2gb

1 Like