歡迎您光臨本站 註冊首頁

【求助】windows2003下apache2.2連接數問題

←手機掃碼閱讀     火星人 @ 2014-03-03 , reply:0

【求助】windows2003下apache2.2連接數問題

用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
《解決方案》

可以設置的撒,自己找資料看一下先。

[火星人 ] 【求助】windows2003下apache2.2連接數問題已經有349次圍觀

http://coctec.com/docs/service/show-post-3448.html