挑战Apache和Tomcat连接问题,非高手勿入!

snakerlee 2003-03-18 10:26:16
采用mod_jk2整合的Apache和Tomcat,运行一段时间后无法访问(如同down机)
这时通过8080端口能够正常访问网站!
如果停掉tomcat,这时Apache也能够正常响应404错误(Apache正常)
但就是不能通过Apache访问Tomcat!!!
如果重启Tomcat就可以正常访问,原因何在???
...全文
1783 点赞 收藏 8
写回复
8 条回复
snakerlee 2003年03月21日
但是隔一段时间,这样的连接就会达到256的最大连接数,造成无法访问。
什么原因呢?
回复 点赞
swingcoder 2003年03月20日
不是中毒,这是用来apache与tomcat通讯用的.
回复 点赞
snakerlee 2003年03月20日
to tensiont
我的是Linux系统,不可能是nimuda吧
回复 点赞
tensiont 2003年03月19日
恭喜,中毒了!

查查毒吧!
回复 点赞
swingcoder 2003年03月18日
用来连结的端口要重新用一个新的,不要用已用的.
检查你的httpd.conf连结tomcat的配置是否正确
回复 点赞
snakerlee 2003年03月18日
tcp 0 0 127.0.0.1:8009 127.0.0.1:37375 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37887 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37374 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37886 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37885 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37373 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37309 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37884 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37372 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37308 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37948 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37371 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37883 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37947 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37370 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37882 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37881 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37369 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37433 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37880 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37368 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37367 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37879 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37366 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37878 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37877 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37365 ESTABLISHED
tcp 0 0 127.0.0.1:1521 127.0.0.1:32815 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37876 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37364 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:38004 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37363 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37875 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:38003 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37362 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37874 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:38002 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37361 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:38001 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:38000 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37999 ESTABLISHED
tcp 0 0 127.0.0.1:32815 127.0.0.1:1521 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37998 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37997 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37868 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37996 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37867 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37995 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37994 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37993 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37929 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37992 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37991 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37990 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37349 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37989 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37348 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37988 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37347 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37987 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37986 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37985 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37984 ESTABLISHED
回复 点赞
snakerlee 2003年03月18日
tcp 0 0 127.0.0.1:37442 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37466 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37467 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37380 ESTABLISHED
tcp 0 0 127.0.0.1:37380 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37381 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37376 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37377 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37378 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37379 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37401 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37433 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37379 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37442 ESTABLISHED
tcp 0 0 127.0.0.1:37982 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37983 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37980 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37981 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37986 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37987 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37984 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37985 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37990 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37991 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37988 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37989 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37994 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37995 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37992 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37993 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37998 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37999 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37996 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37997 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:38002 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:38003 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:38000 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:38001 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:38004 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37378 ESTABLISHED
tcp 0 0 127.0.0.1:37929 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37947 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37948 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37377 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37376 ESTABLISHED
回复 点赞
snakerlee 2003年03月18日
用来连接的的端口是8009,我用8080访问的是tomcat本身提供的服务。
我插了一下连接,发现以下的情况,高手是否知道为什么有这么多连接?


tcp 0 0 127.0.0.1:8009 127.0.0.1:37983 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37982 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37981 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37980 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37851 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37467 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37274 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37466 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37273 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37401 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37272 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37208 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37271 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37207 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37270 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37206 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37269 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37268 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37204 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37267 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37203 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37266 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37138 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37135 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37133 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37132 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37831 ESTABLISHED
tcp 0 0 127.0.0.1:37349 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37348 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37347 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37367 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37366 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37365 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37364 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37363 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37362 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37361 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37375 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37374 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37373 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37372 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37371 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37370 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37369 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37368 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37271 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37270 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37269 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37268 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37267 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37266 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37274 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37273 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37272 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37309 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37308 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37207 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37206 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37204 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37203 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37208 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37135 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37133 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37132 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37138 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37831 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37851 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37868 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37867 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37877 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37876 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37879 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37878 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37875 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37874 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37885 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37884 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37887 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37886 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37881 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37880 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37883 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:37882 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:37381 ESTABLISHED
回复 点赞
发动态
发帖子
Apache
创建于2007-09-28

1.1w+

社区成员

1.6w+

社区内容

Web 开发 Apache
社区公告
暂无公告