# File is inactive: Closing because close\_inactive of 15m0s reached

**URL:** https://discuss.elastic.co/t/file-is-inactive-closing-because-close-inactive-of-15m0s-reached/227885
**Category:** Beats
**Tags:** filebeat
**Created:** [April 14, 2020, 10:15am UTC](https://discuss.elastic.co/t/file-is-inactive-closing-because-close-inactive-of-15m0s-reached/227885 "2020-04-14T10:15:08Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![nikhilesh](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@nikhilesh](https://discuss.elastic.co/u/nikhilesh)
#### Post date: [April 14, 2020, 10:15am UTC](https://discuss.elastic.co/t/file-is-inactive-closing-because-close-inactive-of-15m0s-reached/227885/1 "2020-04-14T10:15:08Z")

</div>

Hi Team,

frequently fIlebeat is stopped suddenly and can see below error in logs. please help on this.

File is inactive: Closing because close\_inactive of 5m0s reached  
2020-04-14T02:56:12.960-0500 INFO log/harvester.go:320 Reader was closed: /path/access.log. Closing.  
2020-04-14T02:56:12.960-0500 INFO log/harvester.go:320 Reader was closed:

NOTE: we have a log file rotation

Thanks  
Nikhilesh Gade

---

<div class="post-metadata">

### Author: ![mtojek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mtojek/32/63863_2.png) [@mtojek](https://discuss.elastic.co/u/mtojek)
#### Post date: [April 14, 2020, 2:21pm UTC](https://discuss.elastic.co/t/file-is-inactive-closing-because-close-inactive-of-15m0s-reached/227885/2 "2020-04-14T14:21:43Z")

</div>

Please see this thread if it helps: [Closing because close\_inactive of 5m0s reached](https://discuss.elastic.co/t/closing-because-close-inactive-of-5m0s-reached/114136/2)

---

<div class="post-metadata">

### Author: ![nikhilesh](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@nikhilesh](https://discuss.elastic.co/u/nikhilesh)
#### Post date: [April 15, 2020, 2:46am UTC](https://discuss.elastic.co/t/file-is-inactive-closing-because-close-inactive-of-15m0s-reached/227885/3 "2020-04-15T02:46:44Z")

</div>

I tired with that option keeping close\_inactive as 30m0s , but still it is crashing

---

<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: [May 13, 2020, 2:47am UTC](https://discuss.elastic.co/t/file-is-inactive-closing-because-close-inactive-of-15m0s-reached/227885/4 "2020-05-13T02:47:00Z")

</div>

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