LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1333|回复: 1

求助:apache error----Invalid method in request Get /BaiduP2P-Peer HTTP/1.1

[复制链接]
发表于 2007-5-26 20:36:51 | 显示全部楼层 |阅读模式
系统环境: Debian-etch, Apache2, php5,  mysql5。
系统处于防火墙后,对外开放80端口。
不正常状况:apache2服务巨慢, error.log 出现大量如下所示信息:

[Sun May 20 06:56:49 2007] [error] [client 202.108.22.165] Invalid method in request Get /BaiduP2P-Server HTTP/1.1
[Sun May 20 06:59:29 2007] [error] [client 218.90.30.51] Invalid method in request Get /BaiduP2P-Peer HTTP/1.1
[Sun May 20 06:59:50 2007] [error] [client 218.90.30.51] Invalid method in request Get /BaiduP2P-Peer HTTP/1.1
[Sun May 20 07:00:54 2007] [error] [client 218.90.30.51] Invalid method in request Get /BaiduP2P-Peer HTTP/1.1
[Sun May 20 07:00:56 2007] [error] [client 218.90.30.51] Invalid method in request Get /BaiduP2P-Peer HTTP/1.1
[Sun May 20 07:01:20 2007] [error] [client 221.221.184.197] Invalid method in request Get /BaiduP2P-Peer HTTP/1.1
[Sun May 20 07:02:16 2007] [error] [client 60.216.26.131] Invalid method in request Get /BaiduP2P-Peer HTTP/1.1
[Sun May 20 07:04:07 2007] [error] [client 218.90.30.51] Invalid method in request Get /BaiduP2P-Peer HTTP/1.1

系统进程:

10649 ?        00:00:00 apache2
10783 ?        00:00:00 apache2
10787 ?        00:00:00 apache2
10788 ?        00:00:00 apache2
10824 ?        00:00:00 apache2
10841 ?        00:00:00 apache2
10846 ?        00:00:00 apache2
10848 ?        00:00:00 apache2
10849 ?        00:00:00 apache2
10850 ?        00:00:00 apache2
10851 ?        00:00:00 apache2
10854 ?        00:00:00 apache2
10857 ?        00:00:00 apache2
10858 ?        00:00:00 apache2
10860 ?        00:00:00 apache2
10861 ?        00:00:00 apache2
10862 ?        00:00:00 apache2
10867 ?        00:00:00 apache2
10868 ?        00:00:00 apache2
10869 ?        00:00:00 apache2

产生的情况和此地( http://bbs.chinaunix.net/viewthread.php?tid=527516   )的一样。
按照上面帖子的方法:create the robots.txt file in /www,and set robots disallow
情况依旧。

重启apache服务(apache2ctl restart)后,大约1~2分钟内apache表现还算正常。

没有google到其他的解决方案,郁闷中,请求大侠帮助,先谢谢了。
发表于 2007-5-30 08:15:11 | 显示全部楼层
限制单IP连接数。搜一下mod_limitipconn。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表