- 论坛徽章:
- 0
|
用ab测试运行在windows2003下apache2.2并发性能时发现当链接数超过351时报错:apr_socket_connect(): Connection reset by peer (131)
这个apache版本是在apache官方网站下载的for windows版本
root@sunb # ./ab -n 10000 -c 352 http://192.168.10.123:81/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 192.168.10.123 (be patient)
Test aborted after 10 failures
apr_socket_connect(): Connection reset by peer (131)
root@sunb # ./ab -n 10000 -c 352 http://192.168.10.123:81/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 192.168.10.123 (be patient)
apr_socket_recv: Connection reset by peer (131)
root@sunb # ./ab -n 10000 -c 352 http://192.168.10.123:81/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 192.168.10.123 (be patient)
apr_socket_recv: Connection reset by peer (131)
root@sunb # ./ab -n 10000 -c 351 http://192.168.10.123:81/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 192.168.10.123 (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests |
|