卡夫卡经纪人随机崩盘

时间:2019-01-23 13:00:55

标签: java apache-kafka jvm

我们正在具有AWS的ECS服务的容器中运行Kafka经纪人。该集群由3个代理组成。我们遇到了一个问题,其中任何经纪人都会随机崩溃并出现Java致命错误,如下所示。

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fef4a3baf9e, pid=1, tid=0x00007feb7feb7700
#
# JRE version: OpenJDK Runtime Environment (8.0_102-b14) (build 1.8.0_102-b14)
# Java VM: OpenJDK 64-Bit Server VM (25.102-b14 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# J 9297 C2 org.apache.kafka.common.record.FileLogInputStream$FileChannelRecordBatch.compressionType()Lorg/apache/kafka/common/record/CompressionType; (10 bytes) @ 0x00007fef4a3baf9e [0x00007fef4a3b9f80+0x101e]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   http://www.azulsystems.com/support/

Hereherehere是hs_err_pid1.log的整个崩溃转储。由于Pastebin的限制,将转储分为三部分。

任何人都可以帮助我在这里找到问题。

1 个答案:

答案 0 :(得分:0)

您可以在dmesg(泊坞窗主机)中搜索日志并查找OutOfMemory?可能是您需要设置vm.max_map_count递增/更改实例大小吗?