Sorry,
I did not see that you're using Nginx as server. Some of the settings
mentioned above do not apply to this server.
iñ
On Thu, 16 Aug 2012, Iñigo Medina wrote:
Hi,
check Apache settings, since the timeout is related to these: MaxClients,
ServerLimit, StartServer, MinSpareServers, MaxSpareServers and
KeepAliveTimeout.
iñ
On Wed, 15 Aug 2012, zhangxiang wrote:
Hi everyone:
I am using ab to do a posting form-data performance test. "ab -p postfile
File containing data to POST", i set two files into this option. The first
file size is 8.3K, "ab -p" works well. But the second file size is 17K, "ab
-p" throws "apr_poll: The timeout specified has expired (70007)".
By the way "curl -F 'upfile=@...'" can post 628K file successfully. I
can't find the reason. Why this happen? Does anyone know?
Linux T-excute01 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64
x86_64 x86_64 GNU/Linux
ok.postdata size is 8.3K===================================================
ab -c 1 -n 1 -p 'ok.postdata' -H 'Expect: 100-continue' ...
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking stats.browser.aliyun.com (be patient).....done
Server Software: nginx/1.0.6
Concurrency Level: 1
Time taken for tests: 0.9032 seconds
Complete requests: 1
Failed requests: 0
Write errors: 0
Total transferred: 155 bytes
Total POSTed: 8692
HTML transferred: 0 bytes
Requests per second: 110.72 [#/sec] (mean)
Time per request: 9.032 [ms] (mean)
Time per request: 9.032 [ms] (mean, across all concurrent requests)
Transfer rate: 0.00 [Kbytes/sec] received
939.80 kb/s sent
956.56 kb/s total
Connection Times (ms)
min mean[+/-sd] median max
Connect: 1 1 0.0 1 1
Processing: 7 7 0.0 7 7
Waiting: 6 6 0.0 6 6
Total: 8 8 0.0 8 8
fail.postdata size is
17k===================================================
ab -c 1 -n 1 -p 'fail.postdata' -H 'Expect: 100-continue' ...
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking stats.browser.aliyun.com (be patient)...apr_poll: The timeout
specified has expired (70007)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org