OutOfMemoryError in LogStash #79
Labels
bug
Something isn't working
logstash
Relating to Malcolm's use of Logstash
performance
Related to speed/performance
lately I've seen some of these depending on the worklaod:
I think that as the size of the events has grown larger (due to adding more normalized fields such as ECS) we need to make adjustments to some logstash runtime parameters:
pipeline.workers
,pipeline.batch.size
andpipeline.batch.delay
- these settings are used to tune the performance and resource utilization of the thelogstash
container; see Tuning and Profiling Logstash Performance,logstash.yml
and Multiple PipelinesI've added code into
install.py
to reduce the number of default pipeline workers. I think probably the big one is we need to reducepipeline.batch.size
so that we don't need quite as much memory available to hold a batch in memory. I'm going to try reducing it from125
(default) to75
. These will be configurable in the docker-compose.yml files.The text was updated successfully, but these errors were encountered: