Bug 146826 - ab command used in NETWORK test timed out in fast network
Summary: ab command used in NETWORK test timed out in fast network
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ready Certification Tests
Classification: Retired
Component: rhr2
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Rob Landry
QA Contact: Rob Landry
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-01 22:43 UTC by Jerry Wei
Modified: 2007-04-18 17:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-05-11 16:39:35 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2005:419 0 normal SHIPPED_LIVE Hardware Certification Suite bug fix update 2005-05-11 04:00:00 UTC

Description Jerry Wei 2005-02-01 22:43:25 UTC
Description of problem:
In NETWORK test, 'ab -c 128 -k -n 256 $ipaddress/httptest.file' was
used to exercise httpd on test machine.  However, it will get time
out and terminate NETWORK test in fast network.  Tried test machine
and server with such network condition. ie. above ab command got
timeout.  If during the execution of ab command, a ping flood command
such as 'ping -c15000 -f -s65507' from test machine to server machine
to increase network load caused the ab command finished normally
without timeout.  That proved the ab command used in NETWORK test was
sensitive to network load, and probably was not suitable for
certification purpose. 

Version-Release number of selected component (if applicable):
rhr2-rhel4-1.0-10

How reproducible:
Need network between test machine and test server lost no packet at
least for 'ping -c1000 -f -s65507' to get above ab command timed out.

Steps to Reproduce:
1.'dd if=/dev/zero of=/var/www/html/httptest.file bs=1M count=12' on
  the test machine
2. start httpd on test machine
3. on test server machine do 
   'ab -c 128 -k -n 256 $ipaddr/httptest.file'
4. above ab command will get timed out
5. repeat 3, and do 'ping -c15000 -f -s65507' from test machine to
   test server, ab command will finished normally without timeout

  
Actual results:


Expected results:
Both 4 and 5 should all be finished without timeout.

Additional info:

Comment 1 Richard Li 2005-02-01 23:13:19 UTC
thanks. note that we've updated the ab parameters in the latest errata to avoid
timeouts -- you can update over rhn.

Comment 2 Jerry Wei 2005-02-02 18:14:36 UTC
Thanks.  Couldn't fine related errata in rhn yet with serach of rhr2 and
redhat-ready.  Please advise.

Comment 3 Richard Li 2005-02-02 18:20:41 UTC
It's on the hardware certification (final) subchannel of RHEL 4 RC.

Comment 4 Richard Li 2005-05-11 16:39:35 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2005-419.html



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