有没有碰到过这种现象,网站一会儿快一会儿慢?

lingy 2005-09-20 12:42:17
我的是2003+apache+php+mysql+mmcache
apache 2.0.52
php 4.3.10
mysql 4.1.10
有个很奇怪的现象,网站刚访问的时候,打开网页很慢,但是打开后就比较流畅,但是过了一段时间不访问,在访问时又出现反应很慢
...全文
242 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
lingy 2005-09-27
  • 打赏
  • 举报
回复
<IfModule mpm_winnt.c>
Win32DisableAcceptEx
ThreadsPerChild 550
MaxRequestsPerChild 0
</IfModule>
还是有错误
uuq 2005-09-27
  • 打赏
  • 举报
回复
我的
Server Software: Apache/2.0.54
Server Hostname: 127.0.0.1
Server Port: 80

Document Path: /
Document Length: 0 bytes

Concurrency Level: 60
Time taken for tests: 105.875000 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Keep-Alive requests: 10000
Total transferred: 2406060 bytes
HTML transferred: 0 bytes
Requests per second: 94.45 [#/sec] (mean)
Time per request: 635.250 [ms] (mean)
Time per request: 10.588 [ms] (mean, across all concurrent requests)
Transfer rate: 22.19 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 125 633 441.0 562 6343
Waiting: 125 632 441.1 562 6343
Total: 125 633 441.0 562 6343

Percentage of the requests served within a certain time (ms)
50% 562
66% 609
75% 656
80% 687
90% 812
95% 937
98% 1078
99% 1218
100% 6343 (longest request)
uuq 2005-09-27
  • 打赏
  • 举报
回复
[Tue Sep 20 19:11:09 2005] [warn] (OS 64)
window系统好像都有。
是个警告已而
uuq 2005-09-27
  • 打赏
  • 举报
回复
能不能不要MM
可能是内容吃紧了吧
zhiin1 2005-09-20
  • 打赏
  • 举报
回复
问题已解决!

把httpd.conf中的

<IfModule mpm_winnt.c>
ThreadsPerChild 550
MaxRequestsPerChild 0
</IfModule>

改为:

<IfModule mpm_winnt.c>
Win32DisableAcceptEx
ThreadsPerChild 550
MaxRequestsPerChild 0
</IfModule>
zhiin1 2005-09-20
  • 打赏
  • 举报
回复
[Tue Sep 20 19:11:09 2005] [warn] (OS 64)指定的网络名不再可用。 : winnt_accept: Asynchronous AcceptEx failed.

晕 怎么与我的一样!
我们服务器今天也刚好出现类似问题了~~

正在调查中!!
lingy 2005-09-20
  • 打赏
  • 举报
回复
error.log里都是[warn] (OS 64)指定的网络名不再可用。 : winnt_accept: Asynchronous AcceptEx failed.
这个错误
lingy 2005-09-20
  • 打赏
  • 举报
回复
用ab -n 10000 -c 60 -k http://127.0.0.1/测了一下

Finished 10000 requests


Server Software: Apache/2.0.52
Server Hostname: 127.0.0.1
Server Port: 80

Document Path: /
Document Length: 58114 bytes

Concurrency Level: 60
Time taken for tests: 1718.921875 seconds
Complete requests: 10000
Failed requests: 1
(Connect: 1, Length: 0, Exceptions: 0)
Write errors: 0
Keep-Alive requests: 0
Total transferred: 583610000 bytes
HTML transferred: 581140000 bytes
Requests per second: 5.82 [#/sec] (mean)
Time per request: 10313.531 [ms] (mean)
Time per request: 171.892 [ms] (mean, across all concurrent requests)
Transfer rate: 331.56 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 11 21.1 15 625
Processing: 110 10277 9076.8 3766 23453
Waiting: 62 9887 9195.3 3203 23031
Total: 125 10289 9075.0 3781 23468

Percentage of the requests served within a certain time (ms)
50% 3781
66% 20781
75% 21046
80% 21171
90% 21546
95% 21828
98% 22234
99% 22562
100% 23468 (longest request)


Requests per second: 5.82 [#/sec] (mean)这么会这么低啊!!!1
Mistruster 2005-09-20
  • 打赏
  • 举报
回复
查看访问日志
wxq4100798 2005-09-20
  • 打赏
  • 举报
回复
系统采用了cache的吧?

21,886

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧