Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32035 - apr_poll problem with ApacheBench (ab2)
Summary: apr_poll problem with ApacheBench (ab2)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-26 05:58 UTC by Xavier Sosnowski
Modified: 2003-10-30 09:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Sosnowski 2003-10-26 05:58:07 UTC
It looks like ApacheBench is broken (ab2) with Apache 2.0.47. When benchmarking,
I receive the following:
ab2 -n 100 -c 10 http://mywebsite/mypage.php
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.121.2.1 $> 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 mywebsite (be patient)...apr_poll: The timeout specified has
expired (70007)

Others have reported similar problems on the forums
(http://forums.gentoo.org/viewtopic.php?t=83493&highlight=aprpoll)

A quick search on Google showed that other distros suffer from the same problem
and it looks like Mandrake has solved it (see
http://qa.mandrakesoft.com/show_bug.cgi?id=6010)

I hope this helps to solve the problem.

Cheers,

Xavier

Reproducible: Always
Steps to Reproduce:
ab2 -n 100 -c 10 http://mywebsite/mypage.php

Actual Results:  
Benchmarking mywebsite (be patient)...apr_poll: The timeout specified has
expired (70007)

Expected Results:  
Concurrency Level:      5
Time taken for tests:   16.697131 seconds
Complete requests:      500
Failed requests:        512
   (Connect: 0, Length: 488, Exceptions: 24)
Write errors:           0
Total transferred:      50969041 bytes
HTML transferred:       50900397 bytes
Requests per second:    29.95 [#/sec] (mean)
Time per request:       166.971 [ms] (mean)
Time per request:       33.394 [ms] (mean, across all concurrent requests)
Transfer rate:          2980.99 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.2      0       2
Processing:    57  158  48.1    156     351
Waiting:     -152  -62  34.7    -74       0
Total:         57  158  48.1    156     351

Percentage of the requests served within a certain time (ms)
  50%    156
  66%    183
  75%    192
  80%    201
  90%    216
  95%    233
  98%    275
  99%    299
 100%    351 (longest request)
Comment 1 Donny Davies (RETIRED) gentoo-dev 2003-10-27 17:34:24 UTC
Thanks for the informative pointer to the Mandrake bug, it certainly does
make things easier to track.
Comment 2 Xavier Sosnowski 2003-10-28 11:29:05 UTC
Hi again,

Apache 2.0.48 is just out and by checking the change log, it looks like this
bug has been closed in the new version: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21495

However, if I'm mistaken, I would be glad to help.

Cheers,

Xavier
Comment 3 Donny Davies (RETIRED) gentoo-dev 2003-10-30 09:29:50 UTC
Yup looks like it...

I'll check apache-2.0.48.ebuild into the tree in a few minutes.