用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:            80Document Path:          /
Document Length:        58114 bytesConcurrency 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] receivedConnection 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   23468Percentage 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

解决方案 »

  1.   

    error.log里都是[warn] (OS 64)指定的网络名不再可用。  : winnt_accept: Asynchronous AcceptEx failed.
    这个错误
      

  2.   

    [Tue Sep 20 19:11:09 2005] [warn] (OS 64)指定的网络名不再可用。  : winnt_accept: Asynchronous AcceptEx failed.晕 怎么与我的一样!
    我们服务器今天也刚好出现类似问题了~~正在调查中!!
      

  3.   

    问题已解决!把httpd.conf中的<IfModule mpm_winnt.c>
    ThreadsPerChild 550
    MaxRequestsPerChild  0
    </IfModule>改为:<IfModule mpm_winnt.c>
    Win32DisableAcceptEx
    ThreadsPerChild 550
    MaxRequestsPerChild  0
    </IfModule>
      

  4.   

    <IfModule mpm_winnt.c>
    Win32DisableAcceptEx
    ThreadsPerChild 550
    MaxRequestsPerChild  0
    </IfModule>
    还是有错误
      

  5.   

    [Tue Sep 20 19:11:09 2005] [warn] (OS 64)
    window系统好像都有。
    是个警告已而
      

  6.   

    我的
    Server Software:        Apache/2.0.54
    Server Hostname:        127.0.0.1
    Server Port:            80Document Path:          /
    Document Length:        0 bytesConcurrency 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] receivedConnection 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    6343Percentage 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)