tomcat配置调优

 <Connector connectionTimeout="20000" port="80" protocol="org.apache.coyote.http11.Http11NioProtocol" 
 73                   maxThreads="600" minSpareThreads="300" acceptCount="1000" maxKeepAliveRequests="1" redirectPort="8443" useBodyEncodingForURI="true" URIEncoding="UTF-8"/>
JAVA_OPTS="-server -Xms4000M -Xmx4000M -Xss256k
-XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled 
-XX:+UseCMSCompactAtFullCollection -XX:LargePageSizeInBytes=128m 
-XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:/opt/tomcat7_msg_center_bj/logs/gc.log
-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/opt/tomcat7_msg_center_bj/logs/heapdump"

猜你喜欢

转载自blog.csdn.net/qq994406030/article/details/73481398
今日推荐