我在MacOS(Apple Silicon)上使用Logstash 8.3.3,并在logstash中创建了大约60条管道。如果我使用的管道少于10条,Logstash启动正常。如果使用的管道多于10条,则会导致JVM崩溃:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000000000000, pid=41063, tid=63747
#
# JRE version: OpenJDK Runtime Environment Temurin-11.0.15+10 (11.0.15+10) (build 11.0.15+10)
# Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.15+10 (11.0.15+10, mixed mode, tiered, compressed oops, concurrent mark sweep gc, bsd-amd64)
# Problematic frame:
# C 0x0000000000000000
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
[thread 64771 also had an error]
[thread 68867 also had an error]
# An error report file with more information is saved as:
# /Users/hashamrasheed/Work/logstash-8.3.3/bin/hs_err_pid41063.log
[thread 60419 also had an error]
[thread 64259 also had an error]
[thread 59907 also had an error]
[thread 71939 also had an error]
[thread 172547 also had an error][thread 70659 also had an error]
[thread 73475 also had an error]
[thread 174339 also had an error]
[thread 174087 also had an error]
#
# If you would like to submit a bug report, please visit:
# https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
在这一点上,我不知道如何调试这个问题。我还将JVM堆大小和堆栈大小分别增加到4g和10m。
1条答案
按热度按时间jhdbpxl91#
我能够解决这个问题,升级的SQLite版本正在使用的logstash-input-mongodb插件。我升级到3.28.0,一切都工作了。