# TOO\_MANY\_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block

**URL:** <https://discuss.elastic.co/t/too-many-requests-12-disk-usage-exceeded-flood-stage-watermark-index-has-read-only-allow-delete-block/377233>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [April 17, 2025, 6:18am UTC](https://discuss.elastic.co/t/too-many-requests-12-disk-usage-exceeded-flood-stage-watermark-index-has-read-only-allow-delete-block/377233 "2025-04-17T06:18:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jackman](https://avatars.discourse-cdn.com/v4/letter/j/3da27b/32.png) [@Jackman](https://discuss.elastic.co/u/Jackman)\
**Post date:** [April 17, 2025, 6:18am UTC](https://discuss.elastic.co/t/too-many-requests-12-disk-usage-exceeded-flood-stage-watermark-index-has-read-only-allow-delete-block/377233/1 "2025-04-17T06:18:03Z")

</div>

Hey Guys im currently running an elastic-search container on my docker where im running a local development area, which all seemed fine at first but at one point i got the error in the title or to be exact:  
2025-04-17 05:39:34.481 ERROR [BufferedIncrement-default-1][BulkDocumentRequestExecutorImpl:48] failure in bulk execution:\_[0]: index [liferay-60813834493731], type [_doc], id [com.liferay.document.library.kernel.model.DLFileEntry\_PORTLET\_32314], message [ElasticsearchException[Elasticsearch exception [type=cluster\_block\_exception, reason=index [liferay-60813834493731] blocked by: [TOO\_MANY\_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block];]]]_[1]: index [liferay-60813834493731], type [\_doc], id [com.liferay.document.library.kernel.model.DLFileEntry\_PORTLET\_32314], message [ElasticsearchException[Elasticsearch exception [type=cluster\_block\_exception, reason=index [liferay-60813834493731] blocked by: [TOO\_MANY\_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block];]]] [Sanitized]

Now i have looked at the other simmilar posts and problems, but either im too stupid to understand whats going on or i forgot something

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [April 17, 2025, 6:21am UTC](https://discuss.elastic.co/t/too-many-requests-12-disk-usage-exceeded-flood-stage-watermark-index-has-read-only-allow-delete-block/377233/2 "2025-04-17T06:21:00Z")

</div>

> [@Jackman](#):
>
> disk usage exceeded flood-stage watermark, index has read-only-allow-delete block

You are getting close to running out of disk space and Elasticsearch has made the index read only in order to prevent you from corrupting your data by running out of disk space.

Incrtease the amount of disk space or delete some indices. You can also change the watermark settings, but be aware that these are there to protect you (would not recommend this).

---

<div class="post-metadata">

**Author:** ![Jackman](https://avatars.discourse-cdn.com/v4/letter/j/3da27b/32.png) [@Jackman](https://discuss.elastic.co/u/Jackman)\
**Post date:** [April 17, 2025, 6:22am UTC](https://discuss.elastic.co/t/too-many-requests-12-disk-usage-exceeded-flood-stage-watermark-index-has-read-only-allow-delete-block/377233/3 "2025-04-17T06:22:16Z")

</div>

Heres the thing, i should have more than enough space on my disk. My PC currently has about 33GB space left, i dont know why it thinks its full

```auto
Filesystem Size Used Avail Use% Mounted on
rootfs 477G 444G 33G 94% /
none 477G 444G 33G 94% /dev
none 477G 444G 33G 94% /run
none 477G 444G 33G 94% /run/lock
none 477G 444G 33G 94% /run/shm
none 477G 444G 33G 94% /run/user
tmpfs 477G 444G 33G 94% /sys/fs/cgroup
C:\ 477G 444G 33G 94% /mnt/c

```

---

<div class="post-metadata">

**Author:** ![Jackman](https://avatars.discourse-cdn.com/v4/letter/j/3da27b/32.png) [@Jackman](https://discuss.elastic.co/u/Jackman)\
**Post date:** [April 17, 2025, 6:25am UTC](https://discuss.elastic.co/t/too-many-requests-12-disk-usage-exceeded-flood-stage-watermark-index-has-read-only-allow-delete-block/377233/4 "2025-04-17T06:25:06Z")

</div>

Might be a stupid question, but i really dont have a clue what im doing, how do i remove indicies?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [April 17, 2025, 6:27am UTC](https://discuss.elastic.co/t/too-many-requests-12-disk-usage-exceeded-flood-stage-watermark-index-has-read-only-allow-delete-block/377233/5 "2025-04-17T06:27:11Z")

</div>

It looks at the amount of free disk space compared to the total disk space available. If you are running Elasticsearch on a host with a lot of other components it may be worthwhile [changing the watermarks](https://opster.com/guides/elasticsearch/capacity-planning/elasticsearch-high-disk-watermark/) to sizes in GB instead of percentages, but make sure you are not too aggressive as that can lead to complete data loss.

---

<div class="post-metadata">

**Author:** ![Jackman](https://avatars.discourse-cdn.com/v4/letter/j/3da27b/32.png) [@Jackman](https://discuss.elastic.co/u/Jackman)\
**Post date:** [April 17, 2025, 6:28am UTC](https://discuss.elastic.co/t/too-many-requests-12-disk-usage-exceeded-flood-stage-watermark-index-has-read-only-allow-delete-block/377233/6 "2025-04-17T06:28:14Z")

</div>

Oooh so Elasticsearch only sees that its 94% used up even if that still means 33G so if i free up even more space it should work again?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [April 17, 2025, 6:30am UTC](https://discuss.elastic.co/t/too-many-requests-12-disk-usage-exceeded-flood-stage-watermark-index-has-read-only-allow-delete-block/377233/7 "2025-04-17T06:30:41Z")

</div>

Yes.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 17, 2025, 6:36am UTC](https://discuss.elastic.co/t/too-many-requests-12-disk-usage-exceeded-flood-stage-watermark-index-has-read-only-allow-delete-block/377233/8 "2025-04-17T06:36:41Z")

</div>

Remember (or learn) that Elasticsearch needs to rewrite a lot of content sometimes (merging segments). This needs temporary some disk space. That's why 94% of disk usage means "full" to Elasticsearch as there's a risk it can't rewrite what is needed.

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [April 17, 2025, 8:49am UTC](https://discuss.elastic.co/t/too-many-requests-12-disk-usage-exceeded-flood-stage-watermark-index-has-read-only-allow-delete-block/377233/9 "2025-04-17T08:49:19Z")

</div>

> [@dadoonet](#):
>
> That's why 94% of disk usage means "full" to Elasticsearch as there's a risk it can't rewrite what is needed.

Just for the sake of completeness, from 8.5.0 onwards it's a little more complicated than this (see [#88639](https://github.com/elastic/elasticsearch/pull/88639)). If the disk is larger than ~2TiB then Elasticsearch only block writes once the free space drops below 100GiB, which may be much more than 95% full. For instance on a 10TiB volume you can get all the way up to 99% full before hitting this disk watermark.

But in any case yeah 33GiB of free space is worryingly close to "full" in Elasticsearch terms. A force-merge of a shard at the standard size of 50GiB will run you out of disk space just for the temporary storage.
