不为失败找理由,要为成功找方法。

logstash input过大问题

Logstash | 作者 redhat | 发布于2017年07月11日 | 阅读数:15312

CAUTION: Recommended inflight events max exceeded! Logstash will run with up to 16000 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 2000), or changing the number of pipeline workers (currently 8) {:level=>:warn}
我的服务器是8c16G的,logstash内存设置的8g,请问events一般设置多大合适啊

 
已邀请:

redhat

赞同来自:

/opt/logstash-2.3.4/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb
DEFAULT_SETTINGS =
{
:default_pipeline_workers => LogStash::Config::CpuCoreStrategy.maximum,
:pipeline_batch_size => 125,
:pipeline_batch_delay => 5, # in milliseconds
:flush_interval => 5, # in seconds
:flush_timeout_interval => 60 # in seconds
}
MAX_INFLIGHT_WARN_THRESHOLD =
in seconds
10_000

要回复问题请先登录注册