# IOException: Too many open files - TCP input

**URL:** <https://discuss.elastic.co/t/ioexception-too-many-open-files-tcp-input/107547>\
**Category:** Logstash\
**Created:** [November 14, 2017, 12:41pm UTC](https://discuss.elastic.co/t/ioexception-too-many-open-files-tcp-input/107547 "2017-11-14T12:41:22Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![nugusbayevkk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nugusbayevkk/32/126683_2.png) [@nugusbayevkk](https://discuss.elastic.co/u/nugusbayevkk)\
**Post date:** [November 29, 2017, 8:23pm UTC](https://discuss.elastic.co/t/ioexception-too-many-open-files-tcp-input/107547/16 "2017-11-29T20:23:23Z")

</div>

you can use  
lsof -p LogstashPID| wc -l  
as described earlier , run with crontab, if count reach or exceed some threshold, you can alert.

if you have some monitorinfg system, like as example, zabbix, you can configure zabbix trapper and configure there some alert rules

---

_[View the full topic](https://discuss.elastic.co/t/ioexception-too-many-open-files-tcp-input/107547)._
