我在tomcat上部署了一个spring应用程序。试图使用log4jKafka附加器将消息和日志发布到Kafka主题的应用程序。目前,在应用程序运行一段时间后(持续时间不同),tomcat意外关闭,下面提到了catalina.out的几行代码。我试过寻找堆内存、磁盘空间、其他一些东西,比如jvm崩溃日志(hs\u err\u pid*.log)和/var/log/dmesg。但是没有得到太多关于发生了什么的信息。
日志:
2020-06-18 07:35:36,445 catalina-exec-81 ERROR Appender App1AsynNwkTxn0 is unable to write primary appenders. queue is full
2020-06-18 07:35:36,446 catalina-exec-81 ERROR Appender App1AsynNwkTxn0 is unable to write primary appenders. queue is full
java: target/snappy-1.1.1/snappy.cc:423: char* snappy::internal::CompressFragment(const char*, size_t, char*, snappy::uint16*, int): Assertion `0 == memcmp(base, candidate, matched)' failed.
java: target/snappy-1.1.1/snappy.cc:384: char* snappy::internal::CompressFragment(const char*, size_t, char*, snappy::uint16*, int): Assertion `hash == Hash(ip, shift)' failed.
OS - centos-7.3
java - openjdk 1.8.0_242
Tomcat - 7.0.82
Snappy library - org.xerial.snappy:snappy-java:jar:1.1.1.6
Kafka client version : 0.10.2.0 (shaded dependency from 3rd party library), kafka_2.10:0.8.2.0 (application Kafka client)
你知道这里发生了什么,为什么应用程序会因为snapy/kafka错误而失败吗?
暂无答案!
目前还没有任何答案,快来回答吧!