Tomcat thread pool

Benefit 1: Decrease in creating and destroying threads on the time spent and the cost of system resources

Benefits 2: If not applicable thread pool, it may cause the system to create a large number of threads resulting in system memory and consumed, "" over-switching ""

First tomcam management configuration can enter it into the tserver status

Tomcat connector

Common Properties

enableLookups set to true  

maxPostSize  

port port

portocol agreement

URIEncoding solve the garbage

acceptCount allow the total size

accptorThreadCount the number of threads to accept connections

 

 Here configurable

two. TOmcatJVM optimization

First mefifo.war package into a directory within WEBAPPS

Tests on web pages

192.168.200.111:8080/meminfo/meminfo.jsp

End to optimize test

 

 

 

Add enough optimized

Restart Service

 

Guess you like

Origin www.cnblogs.com/maoyanqing/p/11583889.html