but i get a warning, "CAUTION: Recommended inflight events max exceeded!.xxxxxxxxxxxxxxxxx this may cause instability with the default heap size. please consider setting a non-standard heap size,changing the batch size(currently 2000)", or changing the number of pipeline workers(currently 6) {:level=>:warn}"
I set "export LS_HEAP_SIZE="2g" ", or in /etc/profile, still won't work.
I did as you told.
But it's still warning
"CAUTION:Recommended inflight events max exceeded! Logstash will run with up to 12000events in memory in your current configuration. If your message sizes are large this may cause instability with the default heap size. please consider setting a non-standard heap size,changing the batch size(currently 2000)", or changing the number of pipeline workers(currently 6) {:level=>:warn}"
or will the warning still come out even after the LS_HEAP_SIZE becomes 4g?How can I be sure the LS_HEAP_SIZE changes to 4g?
I also have the same concern. Is that warning safe to ignore? My input to Logstash is about 1500 EPS, and I've tried to set batch size to 3000 and flush_size to 3000 but still getting that warning.
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.