2 nick20011981 nick20011981 于 2014.08.01 15:26 提问

apache连接数过多时域名无法访问,ip访问tomcat应用正常

请教下大家:
我官网www域名解析到一台装有apache的服务器上,二级域名从apache转到tomcat服务器上。

tomcat和apache的最大连接数我都设置了1500.

目前出现这种现象:
通过观察tomcat manage控制台发现,8009端口Current thread busy: 1001,域名服务无法访问,但是ip访问8080应用还是可以的。一旦出现这个问题,导致我www页面无法访问,二级域名应用无法访问,只能通过ip去访问tomcat应用,请问下这个问题从哪儿入手解决,谢谢!

Current Time: Friday, 01-Aug-2014 14:57:51 CST
Restart Time: Friday, 01-Aug-2014 13:53:03 CST
Parent Server Generation: 0
Server uptime: 1 hour 4 minutes 47 seconds
Total accesses: 9751 - Total Traffic: 147.0 MB
CPU Usage: u11.79 s6.73 cu0 cs0 - .476% CPU load
2.51 requests/sec - 38.7 kB/second - 15.4 kB/request
1000 requests currently being processed, 0 idle workers

JVM

Free memory: 810.32 MB Total memory: 1237.43 MB Max memory: 1820.50 MB

http-8080

Max threads: 2500 Current thread count: 280 Current thread busy: 280
Max processing time: 11014 ms Processing time: 171.644 s Request count: 51 Error count: 0 Bytes received: 0.00 MB Bytes sent: 0.00 MB

jk-8009

Max threads: 2048 Current thread count: 1200 Current thread busy: 1001
Max processing time: 444472 ms Processing time: 178940.98 s Request count: 1437 Error count: 0 Bytes received: 0.05 MB Bytes sent: 0.06 MB

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!