[2018-03-20T14:25:23,077][INFO ][logstash.pipeline ] Starting pipeline {"id"=>"main", "pipeline.workers"=>16, "pipeline.batch.size"=>12500, "pipeline.batch.delay"=>5, "pipeline.max_inflight"=>200000}
[2018-03-20T14:25:23,078][WARN ][logstash.pipeline ] CAUTION: Recommended inflight events max exceeded! Logstash will run with up to 200000 events 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 12500), or changing the number of pipeline workers (currently 16)
how to change the pipeline.max_inflight"=>200000 it big than "pipeline.batch.size"=>12500,
how i can do it ?
thanks.
pipeline.max_inflight this i don't setting .
it auto output . i wan't to know how to change it pipeline.max_inflight to small.
thanks.
logstash is 5.6.8
Okay. I think pipeline.max_inflight is computed based on the batch size and the number of pipeline workers. You have 16 CPU cores, right? Or you've otherwise configured Logstash to have 16 pipeline
workers. 200,000 / 12,500 = 16.
i add the workers in logstash
the warning is also.
[2018-03-21T08:44:35,443][INFO ][logstash.pipeline ] Starting pipeline {"id"=>"main", "pipeline.workers"=>16, "pipeline.batch.size"=>12500, "pipeline.batch.delay"=>5, "pipeline.max_inflight"=>200000}
[2018-03-21T08:44:35,443][WARN ][logstash.pipeline ] CAUTION: Recommended inflight events max exceeded! Logstash will run with up to 200000 events 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 12500), or changing the number of pipeline workers (currently 16)
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.