Reached open files limit Logstash

Hello, my pipeline is stuck due to this error:

Reached open files limit: 4095, set by the 'max_open_files' option or default, files yet to open: 66922

From the documentation, especially this interesting blog post:

I undestand that these parameters, like max_open_files, are customizable.
However, my guess is that Logstash is never closing the files.

Could the reason be the fact that the files do not have the end of line (\n) at the end?


I tried to add some end of lines to some files with echo "" >> filename
However the files yet to open counter in the Logstash pipeline doesn't change at all.

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