DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=44346>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44346 Summary: integer overflow in ab Product: Apache httpd-2 Version: 2.2.8 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: All AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] If I benchmark a local apache-2.2.8 installation under a stable Gentoo, I used this command n22 /var/www/localhost/htdocs/public # dd if=/dev/urandom of=urand400K bs=1024 count=400 400+0 records in 400+0 records out 409600 bytes (410 kB) copied, 0.357657 s, 1.1 MB/s to create a dummy file, after that I used ab to get some results: n22 /var/www/localhost/htdocs/public # ab -q -n 10000 http://n22/public/urand400K 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 n22 (be patient).....done Server Software: Apache Server Hostname: n22 Server Port: 80 Document Path: /public/urand400K Document Length: 409600 bytes Concurrency Level: 1 Time taken for tests: 12.913905 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: -196517296 bytes HTML transferred: -198967296 bytes Requests per second: 774.36 [#/sec] (mean) Time per request: 1.291 [ms] (mean) Time per request: 1.291 [ms] (mean, across all concurrent requests) Transfer rate: -14860.80 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.1 0 11 Processing: 0 1 1.8 1 61 Waiting: 0 0 0.1 0 4 Total: 0 1 1.8 1 61 Percentage of the requests served within a certain time (ms) 50% 1 66% 1 75% 1 80% 1 90% 1 95% 1 98% 2 99% 3 100% 61 (longest request) I'm wondering about the negative values which only happens for a 400 KB file, but not for a 100KB file for 10000 requests. With 40000 requests and a 100 KB dummy file I get negative values too. Seems to be a simple overflow of an integer, isn't it ? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
