# Elastic Search Docker Container Throwing a Ton of unexpected error while indexing monitoring document exceptions

**URL:** <https://discuss.elastic.co/t/elastic-search-docker-container-throwing-a-ton-of-unexpected-error-while-indexing-monitoring-document-exceptions/119127>\
**Category:** Elasticsearch\
**Created:** [February 8, 2018, 9:38pm UTC](https://discuss.elastic.co/t/elastic-search-docker-container-throwing-a-ton-of-unexpected-error-while-indexing-monitoring-document-exceptions/119127 "2018-02-08T21:38:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinjcoleman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kevinjcoleman/32/27275_2.png) [@kevinjcoleman](https://discuss.elastic.co/u/kevinjcoleman)\
**Post date:** [February 8, 2018, 9:38pm UTC](https://discuss.elastic.co/t/elastic-search-docker-container-throwing-a-ton-of-unexpected-error-while-indexing-monitoring-document-exceptions/119127/1 "2018-02-08T21:38:41Z")

</div>

We're using the docker container with docker-compose, here's our configuration. Is there something I'm missing here?

```auto
  ln_elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch:6.2.1
    container_name: ln_elasticsearch
    environment:
      - discovery.type=single-node
    volumes:
      - esdata1:/usr/share/elasticsearch/data
    ports:
      - 9200:9200

```

```auto
ln_elasticsearch | [2018-02-08T21:34:51,958][WARN][o.e.x.m.e.l.LocalExporter] unexpected error while indexing monitoring document
ln_elasticsearch | org.elasticsearch.xpack.monitoring.exporter.ExportException: ClusterBlockException[blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];]
ln_elasticsearch | at org.elasticsearch.xpack.monitoring.exporter.local.LocalBulk.lambda$throwExportException$2(LocalBulk.java:140) ~[?:?]
...
ln_elasticsearch | flood stage disk watermark [95%] exceeded on [mFL5ilQRQmu8TuOx0pg1rw][mFL5ilQ][/usr/share/elasticsearch/data/nodes/0] free: 32.2mb[0%], all indices on this node will marked read-only

```

---

<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:** [February 8, 2018, 10:08pm UTC](https://discuss.elastic.co/t/elastic-search-docker-container-throwing-a-ton-of-unexpected-error-while-indexing-monitoring-document-exceptions/119127/2 "2018-02-08T22:08:59Z")

</div>

You don't have enough disk space available.  
If it's not for production, then you can add the following to your `environment`:

```auto
- cluster.routing.allocation.disk.threshold_enabled=false

```

But `32.2mb` sounds very low free disk space...

---

<div class="post-metadata">

**Author:** ![kevinjcoleman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kevinjcoleman/32/27275_2.png) [@kevinjcoleman](https://discuss.elastic.co/u/kevinjcoleman)\
**Post date:** [February 8, 2018, 10:32pm UTC](https://discuss.elastic.co/t/elastic-search-docker-container-throwing-a-ton-of-unexpected-error-while-indexing-monitoring-document-exceptions/119127/3 "2018-02-08T22:32:46Z")

</div>

Thanks that's helpful! Can you think of a reason why the container would be running out of space like that?

---

<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:** [February 8, 2018, 10:33pm UTC](https://discuss.elastic.co/t/elastic-search-docker-container-throwing-a-ton-of-unexpected-error-while-indexing-monitoring-document-exceptions/119127/4 "2018-02-08T22:33:48Z")

</div>

Nope. I guess it's a Docker configuration issue may be?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 8, 2018, 10:33pm UTC](https://discuss.elastic.co/t/elastic-search-docker-container-throwing-a-ton-of-unexpected-error-while-indexing-monitoring-document-exceptions/119127/5 "2018-03-08T22:33:48Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
