Zwen14 2022-03-21 11:48 采纳率: 0%
浏览 73

kafka自动停止并且启动不了

[2022-03-20 18:22:00,978] INFO Session establishment complete on server zookeeper/172.17.0.3:2181, sessionid = 0x100000108c8005d, negotiated timeout = 18000 (org.apache.zookeeper.ClientCnxn)
[Configuring] 'port' in '/opt/kafka/config/server.properties'
[Configuring] 'advertised.host.name' in '/opt/kafka/config/server.properties'
Excluding KAFKA_HOME from broker config
[Configuring] 'log.dirs' in '/opt/kafka/config/server.properties'
Excluding KAFKA_VERSION from broker config
[Configuring] 'advertised.port' in '/opt/kafka/config/server.properties'
[Configuring] 'zookeeper.connect' in '/opt/kafka/config/server.properties'
[Configuring] 'broker.id' in '/opt/kafka/config/server.properties'
#

There is insufficient memory for the Java Runtime Environment to continue.

Native memory allocation (mmap) failed to map 1073741824 bytes for committing reserved memory.

OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c0000000, 1073741824, 0) failed; error='Out of memory' (errno=12)

An error report file with more information is saved as:

//hs_err_pid1.log



img

  • 写回答

1条回答 默认 最新

  • 社畜阿藏405 新星创作者: Java技术领域 2022-03-21 15:09
    关注

    oom

    img


    内存溢出了兄弟,去排查一下,或者加点内存试试吧

    评论

报告相同问题?

问题事件

  • 创建了问题 3月21日