semistone commented on issue #22601:
URL: https://github.com/apache/pulsar/issues/22601#issuecomment-2123891351

   my JVM option is
   ```
   /usr/bin/java -Dlog4j.shutdownHookEnabled=false -cp 
/opt/pulsar/hybrid/conf:::/opt/pulsar/hybrid/lib/*: 
-Dlog4j.configurationFile=log4j2.yaml -Djute.maxbuffer=10485760 
-Djava.net.preferIPv4Stack=true -Dzookeeper.clientTcpKeepAlive=true 
-Dio.netty.tryReflectionSetAccessible=true --add-opens 
java.base/java.io=ALL-UNNAMED --add-opens java.base/java.util.zip=ALL-UNNAMED 
--add-opens java.base/java.nio=ALL-UNNAMED --add-opens 
java.base/jdk.internal.misc=ALL-UNNAMED --add-opens 
java.base/sun.net=ALL-UNNAMED --add-opens 
java.management/sun.management=ALL-UNNAMED --add-opens 
jdk.management/com.sun.management.internal=ALL-UNNAMED --add-opens 
java.base/jdk.internal.platform=ALL-UNNAMED -Xms2g -Xmx2g 
-XX:MaxDirectMemorySize=4g -XX:+UseZGC -XX:+PerfDisableSharedMem 
-XX:+AlwaysPreTouch -Xlog:async 
-Xlog:gc*,safepoint:/opt/pulsar/hybrid/logs/pulsar_gc_%p.log:time,uptime,tags:filecount=10,filesize=20M
 -Dzookeeper.clientCnxnSocket=org.apache.zookeeper.ClientCnxnSocketNetty 
-Dzookeeper.client.secur
 e=true -Dzookeeper.ssl.keyStore.location=conf/keystore.jks 
-Dzookeeper.ssl.keyStore.password=xxxx  
-Dzookeeper.ssl.trustStore.location=conf/truststore.jks 
-Dzookeeper.ssl.trustStore.password=xxx  -DsecureClientPort=2184 
-Dpulsar.allocator.exit_on_oom=true 
-Dio.netty.recycler.maxCapacity.default=1000 
-Dio.netty.recycler.linkCapacity=1024 -Dpulsar.log.appender=RollingFile 
-Dpulsar.log.dir=/opt/pulsar/hybrid/logs -Dpulsar.log.level=info 
-Dpulsar.log.root.level=info -Dpulsar.log.immediateFlush=false 
-Dpulsar.routing.appender.default=Console -Dlog4j2.is.webapp=false 
-Dpulsar.functions.process.container.log.dir=/opt/pulsar/hybrid/logs 
-Dpulsar.functions.java.instance.jar=/opt/pulsar/hybrid/instances/java-instance.jar
 
-Dpulsar.functions.python.instance.file=/opt/pulsar/hybrid/instances/python-instance/python_instance_main.py
 -Dpulsar.functions.extra.dependencies.dir=/opt/pulsar/hybrid/instances/deps 
-Dpulsar.functions.instance.classpath=/opt/pulsar/hybrid/conf:::/opt/pulsar/hybrid/lib/*:
 -
 Dpulsar.functions.log.conf=/opt/pulsar/hybrid/conf/functions_log4j2.xml 
-Dbookkeeper.metadata.bookie.drivers=org.apache.pulsar.metadata.bookkeeper.PulsarMetadataBookieDriver
 
-Dbookkeeper.metadata.client.drivers=org.apache.pulsar.metadata.bookkeeper.PulsarMetadataClientDriver
 -Dpulsar.log.file=pulsar-broker.log org.apache.pulsar.PulsarBrokerStarter 
--broker-conf /opt/pulsar/hybrid/conf/broker.conf
   ```
   
   my server have 
   Intel(R) Xeon(R) E-2278G CPU @ 3.40GHz
   CPUCORECOUNT: 8
   CPUTHREADCOUNT:16
   
   I feel it may related to cpu speed.
   
   I will debug a little deeper to see anything strange.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to