tomcat version : v9.0.38
os: centos7.9

JAVA_OPTS="$JMX_MONITOR -server -Xms20g -Xmx20g  -Xss512k -XX:+AggressiveOpts 
-XX:+UseBiasedLocking  -XX:+UseG1GC  -XX:+UseFastAccessorMethods   
-XX:MaxGCPauseMillis=100  -Djava.security.egd=file:/dev/./urandom 
-XX:ParallelGCTh
reads=25 -XX:ConcGCThreads=6 -XX:NewRatio=1 -XX:SurvivorRatio=8


server.xml:
     <Connector port="80"
        protocol="org.apache.coyote.http11.Http11Nio2Protocol"
        executor="tomcatThreadPool"
        compression="on"
        compressionMinSize="2048"
        maxThreads="1000"
        minSpareThreads="100"
        enableLookups="false"
        redirectPort="8443"
        acceptCount="1000"

        server="bj-jy-lsy163"5218R
        maxHttpHeaderSize="1048576"

        socket.processorCache="1000"
        socket.bufferPoolSize="1000"
        processorCache="1000"   

        keepAliveTimeout="10000"
        maxKeepAliveRequests="-1"
        connectionTimeout="5000"
        disableUploadTimeout="true" URIEncoding="UTF-8" />

        <Executor name="tomcatThreadPool" namePrefix="catalina-exec-" />

question:
Our server Dell R440 originally has a 5218R CPU, which is 20 cores. Under the 
above configuration, Tomcat occupies 50-60% of the CPU. The performance is ok 
and the return speed is relatively low.The CPU usage remains the same, or even 
slightly increases, while the return speed of the slow ones increases. 
Theoretically, with the increase of CPU, the processing speed will be faster, 
while the return speed should be reduced, which is very abnormal. Could you 
help analyze the problem


zhan...@51tuiyi.com

Reply via email to