Red Hat Bugzilla – Bug 456371
httpd unable to handle ab -n 1500000 -c 500
Last modified: 2008-07-24 06:56:04 EDT
Description of problem:
On nec-em9.rhts.bos.redhat.com (i386), ran
# ab -t 7200 -n 1500000 -c 500 -e load_test_proper.csv
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.141 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
Benchmarking nec-em23.rhts.bos.redhat.com (be patient)
Completed 500000 requests
Completed 1000000 requests
apr_recv: Connection reset by peer (104)
Total of 1140857 requests completed
Changed the command to -c 300 worked without any problem. I have seen this
problem on i386 only so far.
Version-Release number of selected component (if applicable):
Both client and server were RHEL4-U6 GA distros.
Were you using the default httpd.conf? That has:
so it is unsurprising that you see ab errors for concurrency of 500.
Yes, I was using that default setting.
This is not entirely surprising behaviour then. Use a smaller concurrency
setting or increase MaxClients and ServerLimit.