# Logstash : Reached open files limit

**URL:** <https://discuss.elastic.co/t/logstash-reached-open-files-limit/87903>\
**Category:** Logstash\
**Created:** [June 1, 2017, 12:13pm UTC](https://discuss.elastic.co/t/logstash-reached-open-files-limit/87903 "2017-06-01T12:13:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Beuhlet\_Reseau](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@Beuhlet\_Reseau](https://discuss.elastic.co/u/Beuhlet_Reseau)\
**Post date:** [June 1, 2017, 12:13pm UTC](https://discuss.elastic.co/t/logstash-reached-open-files-limit/87903/1 "2017-06-01T12:13:44Z")

</div>

Hello,

I have a common problem with other people about opening file with logstash 5.2. I work on RH 7.1 with rpm packages.

```
[logstash.inputs.file] Reached open files limit: 4095, set by the 'max_open_files' option or default, files yet to open: 16655

```

I don't find the variable to change this. I have put 5 file input in logstash's conf.

In " **/etc/logstash/startup.options**", i see :

```
#Open file limit
LS_OPEN_FILES=16384

```

Where growing limit ?

On RH System i test commands :

```
 [root]#ulimit -n
81296

[root]# ulimit
unlimited

```

Ty

---

<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:** [June 29, 2017, 12:14pm UTC](https://discuss.elastic.co/t/logstash-reached-open-files-limit/87903/2 "2017-06-29T12:14:10Z")

</div>

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