标签:最大 性能 text 相关 需要 roc connect soc processor
1
|
JAVA_OPTS=’-Xms1024m -Xmx2048m -XX: PermSize=256M -XX:MaxNewSize=256m -XX:MaxPermSize=256m’ |
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<Connector port= "9027" protocol= "HTTP/1.1" maxHttpHeaderSize= "8192" maxThreads= "1000" minSpareThreads= "100" maxSpareThreads= "1000" minProcessors= "100" maxProcessors= "1000" enableLookups= "false" URIEncoding= "utf-8" acceptCount= "1000" redirectPort= "8443" disableUploadTimeout= "true" /> |
2.Tomcat缓存优化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<Connector port= "9027" protocol= "HTTP/1.1" maxHttpHeaderSize= "8192" maxThreads= "1000" minSpareThreads= "100" maxSpareThreads= "1000" minProcessors= "100" maxProcessors= "1000" enableLookups= "false" compression= "on" compressionMinSize= "2048" compressableMimeType= "text/html,text/xml,text/javascript,text/css,text/plain" connectionTimeout= "20000" URIEncoding= "utf-8" acceptCount= "1000" redirectPort= "8443" disableUploadTimeout= "true" /> |
3.参考配置
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<Connector port= "9027" protocol= "HTTP/1.1" maxHttpHeaderSize= "8192" maxThreads= "1000" minSpareThreads= "25" maxSpareThreads= "75" enableLookups= "false" compression= "on" compressionMinSize= "2048" compressableMimeType= "text/html,text/xml,text/javascript,text/css,text/plain" connectionTimeout= "20000" URIEncoding= "utf-8" acceptCount= "200" redirectPort= "8443" disableUploadTimeout= "true" /> |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<Connector port= "9027" protocol= "HTTP/1.1" maxHttpHeaderSize= "8192" maxThreads= "1000" minSpareThreads= "100" maxSpareThreads= "1000" minProcessors= "100" maxProcessors= "1000" enableLookups= "false" compression= "on" compressionMinSize= "2048" compressableMimeType= "text/html,text/xml,text/javascript,text/css,text/plain" connectionTimeout= "20000" URIEncoding= "utf-8" acceptCount= "1000" redirectPort= "8443" disableUploadTimeout= "true" /> |
标签:最大 性能 text 相关 需要 roc connect soc processor
原文地址:http://www.cnblogs.com/nulige/p/6856311.html