# Logstash pipeline is getting killed with jnr.enxio.channels.NativeException: Error closing fd 272: Stale file handle"

**URL:** https://discuss.elastic.co/t/logstash-pipeline-is-getting-killed-with-jnr-enxio-channels-nativeexception-error-closing-fd-272-stale-file-handle/339328
**Category:** Logstash
**Created:** [July 26, 2023, 4:04pm UTC](https://discuss.elastic.co/t/logstash-pipeline-is-getting-killed-with-jnr-enxio-channels-nativeexception-error-closing-fd-272-stale-file-handle/339328 "2023-07-26T16:04:47Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jayanthi\_c](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jayanthi_c/32/123903_2.png) [@jayanthi\_c](https://discuss.elastic.co/u/jayanthi_c)
#### Post date: [July 26, 2023, 4:04pm UTC](https://discuss.elastic.co/t/logstash-pipeline-is-getting-killed-with-jnr-enxio-channels-nativeexception-error-closing-fd-272-stale-file-handle/339328/1 "2023-07-26T16:04:47Z")

</div>

I am using filebeat to transfer log to logstash but we see that pipeline is getting killed with the below error  
jnr.enxio.channels.NativeException: Error closing fd 272: Stale file handle"

Can someone please help

---

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [July 26, 2023, 4:30pm UTC](https://discuss.elastic.co/t/logstash-pipeline-is-getting-killed-with-jnr-enxio-channels-nativeexception-error-closing-fd-272-stale-file-handle/339328/2 "2023-07-26T16:30:23Z")

</div>

Is that logged by filebeat or logstash? Are you reading from an NFS mount?

---

<div class="post-metadata">

### Author: ![jayanthi\_c](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jayanthi_c/32/123903_2.png) [@jayanthi\_c](https://discuss.elastic.co/u/jayanthi_c)
#### Post date: [July 26, 2023, 6:23pm UTC](https://discuss.elastic.co/t/logstash-pipeline-is-getting-killed-with-jnr-enxio-channels-nativeexception-error-closing-fd-272-stale-file-handle/339328/3 "2023-07-26T18:23:59Z")

</div>

its logged by logstash. Filebeat is reading from a mount. Logstash "version": "7.16.2",

---

<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: [August 23, 2023, 6:24pm UTC](https://discuss.elastic.co/t/logstash-pipeline-is-getting-killed-with-jnr-enxio-channels-nativeexception-error-closing-fd-272-stale-file-handle/339328/4 "2023-08-23T18:24:38Z")

</div>

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