# Logstash holding open deleted logs

**URL:** <https://discuss.elastic.co/t/logstash-holding-open-deleted-logs/25563>\
**Category:** Logstash\
**Created:** [July 14, 2015, 11:27pm UTC](https://discuss.elastic.co/t/logstash-holding-open-deleted-logs/25563 "2015-07-14T23:27:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brandon\_Metcalf](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@Brandon\_Metcalf](https://discuss.elastic.co/u/Brandon_Metcalf)\
**Post date:** [July 14, 2015, 11:27pm UTC](https://discuss.elastic.co/t/logstash-holding-open-deleted-logs/25563/1 "2015-07-14T23:27:29Z")

</div>

Hi, we are using version 1.5.1-1 of logstash on centos 6 and logstash is holding open for days files that have been deleted by rotation. I've found a lot of discussion around this issue and logstash-forwarder, but nothing specific to logstash. Other than restarting logstash periodically, what is the best way to release these handles? Thanks.

---

<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:** [July 6, 2017, 5:34am UTC](https://discuss.elastic.co/t/logstash-holding-open-deleted-logs/25563/2 "2017-07-06T05:34:46Z")

</div>


