kildibaev edited a comment on pull request #5785: URL: https://github.com/apache/kafka/pull/5785#issuecomment-692927289
Hi there I was able to reproduce the "buffer overflow" warning under high load (over 6,000 msg/sec and 1,5 Mbytes/sec) using OpenJDK 11.0.7 and the following kafka option: `-Djsse.SSLEngine.acceptLargeFragments=true`. If I'm running Kafka without the jsse.SSLEngine.acceptLargeFragments option or with JDK 8, then there are no "buffer overflow" warnings in logs. How to reproduce: ``` export KAFKA_HEAP_OPTS=" -Xmx512M -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=100M " export KAFKA_OPTS=" -Djsse.SSLEngine.acceptLargeFragments=true -Dzookeeper.client.secure=true -Dzookeeper.ssl.keyStore.location=/certs/kafka.jks -Dzookeeper.ssl.keyStore.password=****** -Dzookeeper.ssl.trustStore.location=/certs/CAtrusted.jks -Dzookeeper.ssl.trustStore.password=****** -Dzookeeper.clientCnxnSocket=org.apache.zookeeper.ClientCnxnSocketNetty -javaagent:/distrib/jmx_prometheus_javaagent-0.12.0.jar=7171:/config/jmx_exporter_kafka.yaml " bin/kafka-server-start.sh config/server.properties ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org