我的tomcat每运行2-3天后,就会出现不再处理http请求的情况。打印出线程状态如下:http-90-exec-40:TIMED_WAITING
http-90-exec-43:TIMED_WAITING
http-90-exec-49:TIMED_WAITING
http-90-ClientPoller:RUNNABLE
http-90-Acceptor-0:RUNNABLETP-Processor2:WAITING
TP-Processor1:WAITING
TP-Processor3:WAITING
TP-Processor4:RUNNABLETP-Monitor:TIMED_WAITINGReference Handler:WAITINGSignal Dispatcher:RUNNABLEFinalizer:WAITINGmain:RUNNABLEContainerBackgroundProcessor[StandardEngine[Catalina]]:TIMED_WAITINGNioBlockingSelector.BlockPoller-1:RUNNABLE以下为不正常状态..
Timer-0:BLOCKEDhttp-90-exec-1:BLOCKED
http-90-exec-3:BLOCKED
http-90-exec-2:BLOCKED...(此类线程非常多)
tomcat设置能改的都改了,还是无法解决,现在只能通过监控线程判断jvm线程数,过大就自动重启tomcat...
望高手指点,可赠送100资源分....
http-90-exec-43:TIMED_WAITING
http-90-exec-49:TIMED_WAITING
http-90-ClientPoller:RUNNABLE
http-90-Acceptor-0:RUNNABLETP-Processor2:WAITING
TP-Processor1:WAITING
TP-Processor3:WAITING
TP-Processor4:RUNNABLETP-Monitor:TIMED_WAITINGReference Handler:WAITINGSignal Dispatcher:RUNNABLEFinalizer:WAITINGmain:RUNNABLEContainerBackgroundProcessor[StandardEngine[Catalina]]:TIMED_WAITINGNioBlockingSelector.BlockPoller-1:RUNNABLE以下为不正常状态..
Timer-0:BLOCKEDhttp-90-exec-1:BLOCKED
http-90-exec-3:BLOCKED
http-90-exec-2:BLOCKED...(此类线程非常多)
tomcat设置能改的都改了,还是无法解决,现在只能通过监控线程判断jvm线程数,过大就自动重启tomcat...
望高手指点,可赠送100资源分....
提示,如果session过多会造成死机!(这个倒有可能)
个人意见!具体原因等待高手解答
监控截图:
http://b25.photo.store.qq.com/http_imgload.cgi?/rurl4_b=fefb76436e2d9f15336be864895ddae02683f974504a4914f2b8cd0f6968bf3a54e8ac6ac11dc343f95e9c55b82cd58b5907e67b8c5f85935b34f2958e3492871efca53dbfe96d5fe306466a6a5b19b8fc74774b&a=12&b=25
参见:
http://osdir.com/ml/users-tomcat.apache.org/2009-06/msg01152.html