File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 54
54
- 改为:`exec " $PRGDIR" /" $EXECUTABLE" stop 10 -force`
55
55
56
56
57
- # # Tomcat 7 优化
57
+ # # Tomcat 8 优化
58
58
59
59
- Tomcat 6/7/8 的优化参数有点不一样,最好按下面的方式看一下官网这个文档是否还保留着这个参数
60
60
- 启动tomcat,访问该地址,下面要讲解的一些配置信息,在该文档下都有说明的:
128
128
/>
129
129
```
130
130
- 重点参数解释:
131
- - protocol,Tomcat 8 设置 nio2 更好:org.apache.coyote.http11.Http11Nio2Protocol
131
+ - protocol,Tomcat 8 设置 nio2 更好:org.apache.coyote.http11.Http11Nio2Protocol(如果这个用不了,就用下面那个)
132
132
- protocol,Tomcat 6、7 设置 nio 更好:org.apache.coyote.http11.Http11NioProtocol
133
133
- enableLookups,禁用DNS查询
134
134
- acceptCount,指定当所有可以使用的处理请求的线程数都被使用时,可以放到处理队列中的请求数,超过这个数的请求将不予处理,默认设置 100
191
191
- < http://blog.csdn.net/lifetragedy/article/details/7708724 >
192
192
- < http://ihuangweiwei.iteye.com/blog/1233941 >
193
193
- < http://www.cnblogs.com/ggjucheng/archive/2013/04/16/3024731.html >
194
- - < https://tomcat.apache.org/tomcat-8.0-doc/config/http.html#Connector_Comparison >
194
+ - < https://tomcat.apache.org/tomcat-8.0-doc/config/http.html#Connector_Comparison >
You can’t perform that action at this time.
0 commit comments