ES is running on this same host, with two hosts sending logs to LS with log-courier. Very light load test setup, 2 local hosts sending apache and auth.log logs via log-courier to LS. Wondering why LS is opening so many files.
ES ulimit is default in /etc/init.d/elasticsearch, MAX_OPEN_FILES=65535
LS ulimit is also default in /etc/init.d/logstash, LS_OPEN_FILES=16384 , is this the recommended amount?
Be sure to check if sniffing is enabled ... **this causes LS to open a new IPv4 socket every 5s by default **... eventually exhausting open file limit in the OS (ubuntu 12 in my case)
On default install of ES, LS, be sure to check the following parameters
sniffing sniffing_delay
Also in the course of debugging this, I discovered kibana also sends config requests every few seconds to ES, but doesn't seem to keep opening new connections like the ES output sniffing parameter problem I mention above.
@Chris_Clifton we'll try to understand how quickly this can be solved, and if it warrants a warning in the meantime. from what we see it should be easy/quick to fix
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.