Bug 119890 - /usr/bin/ab breaks saying apr_recv: Connection reset by peer (104)
/usr/bin/ab breaks saying apr_recv: Connection reset by peer (104)
Product: Fedora
Classification: Fedora
Component: httpd (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
Depends On:
  Show dependency treegraph
Reported: 2004-04-02 16:55 EST by Jason Brittain
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version: 2.0.48-16
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-04-03 05:00:55 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jason Brittain 2004-04-02 16:55:57 EST
Description of problem:

I'm trying to use ab (which is part of the httpd package) to benchmark
a web server.  I'm running ab and the web server on the same machine.
This machine has Fedora Core 2 Test 1 on it.  The packages are stock
(unchanged by me).  Here's sample output from ab when I run it:

------ clip --------

[root@jt httpbenchmark]# ab -t 60 -c 10 -C 'cookie1=value1;
cookie2=value2; cookie3=value3; cookie4=value4'
This is ApacheBench, Version 2.0.40-dev <$Revision: $>
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd,
Copyright (c) 1998-2002 The Apache Software Foundation,
Benchmarking localhost (be patient)
apr_recv: Connection reset by peer (104)
Total of 29 requests completed

----------- clip ------------

This same command works fine on other machines that have RedHat 9
and 7.3 on them.

Version-Release number of selected component (if applicable):


How reproducible:

The command line shown above should reproduce the bug.  If not,
let me know and I'll try to provide more info.

Steps to Reproduce:
1. Install FC2 T1.
2. Set up a web server and verify that it works.
3. Run the above ab command line against the web server.
Actual results:

The ab session does not run to completion, but instead fails, saying:

apr_recv: Connection reset by peer (104)

Expected results:

The ab session runs to completion, outputting a benchmark report.

Additional info:

Comment 1 Joe Orton 2004-04-03 05:00:55 EST
Thanks for the report.  This is fixed in 2.0.48-16 and later, e.g. FC2
test 2.
Comment 2 Jason Brittain 2004-04-03 13:33:38 EST
Excellent.  Thanks very much.

Note You need to log in before you can comment on or make changes to this bug.