I am using logstash version 6.3 and I can't seem to get the max_open_files to stick. According to the proc it is set properly:
root@ip-172-31-47-78:/proc/1433# cat limits | grep "Max open files"
Max open files 16384 16384 files
But in the logs I am still getting:
[2018-08-06T19:12:48,088][WARN ][logstash.inputs.file ] Reached open files limit: 4095, set by the 'max_open_files' option or default, files yet to open: 14325
in /etc/logstash/startup.options LS_OPEN_FILES is set to 16384:
startup.options:LS_OPEN_FILES=16384
I also tried setting it in /etc/default/logstash
/etc/logstash# cat /etc/default/logstash |grep OPEN
LS_OPEN_FILES="16384"
MAX_OPEN_FILES="16384"
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.