# Elasticsearch didn't auto recover from disk space full

**URL:** <https://discuss.elastic.co/t/elasticsearch-didnt-auto-recover-from-disk-space-full/110172>\
**Category:** Elasticsearch\
**Created:** [December 4, 2017, 4:06pm UTC](https://discuss.elastic.co/t/elasticsearch-didnt-auto-recover-from-disk-space-full/110172 "2017-12-04T16:06:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![songtianyi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/songtianyi/32/25001_2.png) [@songtianyi](https://discuss.elastic.co/u/songtianyi)\
**Post date:** [December 4, 2017, 4:06pm UTC](https://discuss.elastic.co/t/elasticsearch-didnt-auto-recover-from-disk-space-full/110172/1 "2017-12-04T16:06:07Z")

</div>

I'm using ES 2.2.2, here is what i am confusing.

stages:

1. ES running ok
2. host space full
3. ES running bad
4. **delete some nonsense logs**
5. ES still running bad(nested: AlreadyClosedException[translog is already closed]; )
6. restart ES
7. ES running ok!

I mean, shouldn't es will be ok after host disk space released?

Please remind me if you want more details.  
Thanks.

---

<div class="post-metadata">

**Author:** ![mujtabahussain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mujtabahussain/32/17514_2.png) [@mujtabahussain](https://discuss.elastic.co/u/mujtabahussain)\
**Post date:** [December 5, 2017, 12:47am UTC](https://discuss.elastic.co/t/elasticsearch-didnt-auto-recover-from-disk-space-full/110172/2 "2017-12-05T00:47:02Z")

</div>

Did you confirm that the disk space taken by the nonsense logs got released after you deleted them? Sometimes, filehandles stay open, especially for logs.

You can check them by doing the following on \*nix systems!

```bash
$> sudo lsof +L1

```

---

<div class="post-metadata">

**Author:** ![songtianyi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/songtianyi/32/25001_2.png) [@songtianyi](https://discuss.elastic.co/u/songtianyi)\
**Post date:** [December 5, 2017, 2:04am UTC](https://discuss.elastic.co/t/elasticsearch-didnt-auto-recover-from-disk-space-full/110172/3 "2017-12-05T02:04:26Z")

</div>

Thanks your tip.  
I didn't check the file handles, but other services in the same host recovered after files deleted. So i am sure it's not the reason.  
Please note, i am using ES 2.x version.

Thanks.  
Best regards.

---

<div class="post-metadata">

**Author:** ![songtianyi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/songtianyi/32/25001_2.png) [@songtianyi](https://discuss.elastic.co/u/songtianyi)\
**Post date:** [December 6, 2017, 1:46am UTC](https://discuss.elastic.co/t/elasticsearch-didnt-auto-recover-from-disk-space-full/110172/4 "2017-12-06T01:46:32Z")

</div>

any suggestion about this?

---

<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:** [January 3, 2018, 1:46am UTC](https://discuss.elastic.co/t/elasticsearch-didnt-auto-recover-from-disk-space-full/110172/5 "2018-01-03T01:46:38Z")

</div>

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