# File input fails to respect shutdown

**URL:** <https://discuss.elastic.co/t/file-input-fails-to-respect-shutdown/44730>\
**Category:** Logstash\
**Created:** [March 17, 2016, 3:52pm UTC](https://discuss.elastic.co/t/file-input-fails-to-respect-shutdown/44730 "2016-03-17T15:52:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarthur](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sarthur/32/8538_2.png) [@sarthur](https://discuss.elastic.co/u/sarthur)\
**Post date:** [March 17, 2016, 3:52pm UTC](https://discuss.elastic.co/t/file-input-fails-to-respect-shutdown/44730/1 "2016-03-17T15:52:35Z")

</div>

I just file a [new bug](https://github.com/logstash-plugins/logstash-input-file/issues/113) against the file input plugin bundled in 2.2.2. Basically when I try to do a graceful shutdown the file input says its closed but it really isn't and events from the tailer keep arriving to the input. This in turn stalls the whole shutdown process because the input thread does not return. Has anyone else seen this?

---

<div class="post-metadata">

**Author:** ![CamJN](https://avatars.discourse-cdn.com/v4/letter/c/5f8ce5/32.png) [@CamJN](https://discuss.elastic.co/u/CamJN)\
**Post date:** [March 29, 2016, 7:16pm UTC](https://discuss.elastic.co/t/file-input-fails-to-respect-shutdown/44730/2 "2016-03-29T19:16:54Z")

</div>

I have.

---

<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:04am UTC](https://discuss.elastic.co/t/file-input-fails-to-respect-shutdown/44730/3 "2017-07-06T05:04:53Z")

</div>


