philhagen / sof-elk

Configuration files for the SOF-ELK VM
GNU General Public License v3.0
1.46k stars 272 forks source link

Logstash randomly crashing when starting #317

Closed BrianMer closed 6 months ago

BrianMer commented 6 months ago

Hi,

Sometimes, Logstash is crashing with this error:

[FATAL][org.logstash.Logstash    ][main] uncaught error (in thread Ruby-0-Thread-24: /usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:289)
java.lang.StackOverflowError: null
[...]

I think I found a fix, you need to edit the /etc/logstash/jvm.options and add the -Xss16m option.

It seems to be stable now, and not crashing anymore.

Thanks!

BrianMer commented 6 months ago

Duplicate of #299, my bad!

philhagen commented 6 months ago

no worries! I am hesitant to make this kind of change on a branch that is in live deployment because it may require some system-level tweaks. im aiming for a new public release shortly and it's working on the develop branch now so it'll be incorporated into the next build.