Tomcat的Thread超限导致无反应的问题?
tomcat 5.0运行一段时间后,无反应,检查tomcat日志发现:
严重: All threads (1,000) are currently busy, waiting. Increase maxThreads (1,000) or check the servlet status
此前监控tomcat的server状态,看到长时间无反应的http链接在里面:
Max threads: 1000 Min spare threads: 35 Max spare threads: 95 Current thread count: 1000 Current thread busy: 913
Max processing time: 1868913 ms Processing time: 383502 s Request count: 36213191 Error count: 5282735 Bytes received: 643.52 MB Bytes sent: 10893.76 MB
Stage Time B Sent B Recv Client VHost Request
S 1320808 ms 0 KB 0 KB 218.18.25.15 x.x.x.x POST /service/call HTTP/1.1
S 1344484 ms 0 KB 0 KB 222.131.53.123 x.x.x.x POST /service/call HTTP/1.1
S 1356884 ms 0 KB 0 KB 222.132.154.246 x.x.x.x POST /service/call HTTP/1.1
S 1344608 ms 0 KB 0 KB 221.220.31.101 x.x.x.x POST /service/call HTTP/1.1
...
请问各位高手,这个现象一般是什么引起的呢?我的tomcat的最大Thread已经是1000了,感觉是很多死线程在里面不释放。
谢谢!