Documentation Recommendation for Logstash Heap

I believe in the 6.x version (compared to 5.x) for Logstash that when you use the memory queue it no longer just uses the available memory of the OS but rather what you have predefined in $LogstashDir/jvm.options

Is it possible to add that to documentation in breaking changes and or here:
https://www.elastic.co/guide/en/logstash/current/performance-troubleshooting.html

@neu5ron Logstash has always used the Java heap. We did switch to using the jvm.options file to define it however.

Thanks for the confirmation, learned through much headache :slight_smile:
I guess my recommendation / goal of this topic was:

  1. Mention the jvm.options in the logstash tuning guide -- https://www.elastic.co/guide/en/logstash/current/tuning-logstash.html
  2. Mention that if using memory queue to increase jvm.options -- https://www.elastic.co/guide/en/logstash/current/persistent-queues.html
  3. Mention in the jvm.options section about memory queue/tuning -- https://www.elastic.co/guide/en/logstash/current/config-setting-files.html

I only say this just to prevent everyone from future questions/troubleshooting.
Also, I have ran into a few seasoned logstash folks who had no idea and or never thought to tune/change logstash's jvm.options
There is just a lot of emphasis on elasticsearch jvm.options that it is easy to forget/overlook logstash jvm.options :slight_smile:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.