Deployment Env (web server only)
- 16 GB RAM
- Doble XEON processor (Intel)
- Centos 5.5 as OS
- Tomcat 7
- JDK 1.6
Question is what would be best VM param and Connector options and for tomcat?
Current Conn开发者_StackOverflowector:
<Connector port="8080" address="${jboss.bind.address}"
maxThreads="1000" maxHttpHeaderSize="8192"
emptySessionPath="true" protocol="HTTP/1.1"
enableLookups="false" redirectPort="8443" acceptCount="200"
connectionTimeout="20000" disableUploadTimeout="true"/>
JV param :
-server -Xms10G -Xmx10G -XX:MaxPermSize=1G -XX:+UseConcMarkSweepGC
-XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:-TraceClassUnloading
-Dsun.io.useCanonCaches=false -Dsun.net.client.defaultConnectTimeout=60000
-Dsun.net.client.defaultReadTimeout=60000
Thanks.
精彩评论