|
楼主 |
发表于 2017-6-28 08:24:41
|
显示全部楼层
本帖最后由 liuaqiuping 于 2017-6-28 08:30 编辑
查看netstat 很多 TCP 127.0.0.1:50274 127.0.0.1:8080 TIME_WAIT 0
TCP 127.0.0.1:50275 127.0.0.1:8080 TIME_WAIT 0
TCP 127.0.0.1:50276 127.0.0.1:8080 TIME_WAIT 0
TCP 127.0.0.1:50277 127.0.0.1:8080 TIME_WAIT 0
TCP 127.0.0.1:50278 127.0.0.1:8080 TIME_WAIT 0
TCP 127.0.0.1:50280 127.0.0.1:8080 TIME_WAIT 0
TCP 127.0.0.1:50281 127.0.0.1:8080 TIME_WAIT 0
TCP 127.0.0.1:50282 127.0.0.1:8080 TIME_WAIT 0
TCP 127.0.0.1:50283 127.0.0.1:8080 TIME_WAIT 0
TCP 127.0.0.1:50284 127.0.0.1:8080 TIME_WAIT 0
TCP 127.0.0.1:50285 127.0.0.1:8080 TIME_WAIT 0
TCP 127.0.0.1:50286 127.0.0.1:8080 TIME_WAIT 0
TCP 127.0.0.1:50287 127.0.0.1:8080 TIME_WAIT 0
TCP 127.0.0.1:50288 127.0.0.1:8080 TIME_WAIT 0
TCP 127.0.0.1:50289 127.0.0.1:8080 TIME_WAIT 0
TCP 127.0.0.1:50290 127.0.0.1:8080 TIME_WAIT 0
是否是哪里设置不对导致连接不能及时释放掉
<Connector port="8080" URIEncoding="utf-8" maxHttpHeaderSize="8192" compression="on" maxThreads="500" minSpareThreads="30" maxSpareThreads="150" enableLookups="false" redirectPort="8443" acceptCount="300" connectionTimeout="30000" disableUploadTimeout="true" compressableMimeType="text/html,text/xml,text/css,text/javascript,application/x-javascript,application/javascript,application/xml,application/json"/>
----------还有就是一个客户端地址怎么同时有多个连接8080端口
[tomcat6.exe]
TCP 168.1.1.11:8080 168.1.1.83:1865 ESTABLISHED 5888
[tomcat6.exe]
TCP 168.1.1.11:8080 168.1.1.83:1866 ESTABLISHED 5888
[tomcat6.exe]
TCP 168.1.1.11:8080 168.1.1.83:1867 ESTABLISHED 5888
[tomcat6.exe]
TCP 168.1.1.11:8080 168.1.1.83:1868 ESTABLISHED 5888
[tomcat6.exe]
TCP 168.1.1.11:8080 168.1.1.83:1869 ESTABLISHED 5888---
|
|