http://www.google.com/search?&q=apache+bench+failed+length
I suggest looking at the top result.
On Jun 27, 5:08 am, joshua <josh...@gmail.com> wrote:
> Hi Cakes,
> Today I use ab to give a test of my cake site, there are so many failed
> requests in the output log. I have no idea how to fix it? Can you give some
> ideas or suggestions on this? Thanks in advance! The site was deployed on my
> local machine, so I can eliminate bandwidth factor firstly.
>
> ab -c 10 -t 60http://www.mysite.com/index
>
>
>
>
>
> > 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/
>
> > Benchmarkingwww.mysite.com(be patient)
> > Finished 53 requests
>
> > Server Software: Apache/2.2.6
> > Server Hostname: www.mysite.com
> > Server Port: 80
>
> > Document Path: /index
> > Document Length: 109093 bytes
>
> > Concurrency Level: 10
> > Time taken for tests: 61.296875 seconds
> > Complete requests: 53
> > *Failed requests: 40*
> > (Connect: 0, Length: 40, Exceptions: 0)
> > Write errors: 0
> > Total transferred: 5804514 bytes
> > HTML transferred: 5787504 bytes
> > Requests per second: 0.86 [#/sec] (mean)
> > Time per request: 11565.448 [ms] (mean)
> > Time per request: 1156.545 [ms] (mean, across all concurrent
> > requests)
> > Transfer rate: 92.47 [Kbytes/sec] received
>
> > Connection Times (ms)
> > min mean[+/-sd] median max
> > Connect: 0 0 2.1 0 15
> > Processing: 4296 10221 2666.6 10648 16203
> > Waiting: 4265 10152 2674.7 10585 16031
> > Total: 4296 10221 2666.2 10648 16203
>
> > Percentage of the requests served within a certain time (ms)
> > 50% 10640
> > 66% 11750
> > 75% 12000
> > 80% 12390
> > 90% 13343
> > 95% 14000
> > 98% 15468
> > 99% 16203
> > 100% 16203 (longest request)
>
> > ab -c 3 -t 60http://www.mysite.com/index
> > 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/
>
> > Benchmarkingwww.mysite.com(be patient)
> > Finished 54 requests
>
> > Server Software: Apache/2.2.6
> > Server Hostname: www.mysite.com
> > Server Port: 80
>
> > Document Path: /index
> > Document Length: 109094 bytes
>
> > Concurrency Level: 3
> > Time taken for tests: 60.62500 seconds
> > Complete requests: 54
> > *Failed requests: 30*
> > (Connect: 0, Length: 30, Exceptions: 0)
> > Write errors: 0
> > Total transferred: 5913925 bytes
> > HTML transferred: 5896600 bytes
> > Requests per second: 0.90 [#/sec] (mean)
> > Time per request: 3336.806 [ms] (mean)
> > Time per request: 1112.269 [ms] (mean, across all concurrent
> > requests)
> > Transfer rate: 96.15 [Kbytes/sec] received
>
> > Connection Times (ms)
> > min mean[+/-sd] median max
> > Connect: 0 0 2.9 0 15
> > Processing: 2344 3235 624.0 3312 4609
> > Waiting: 2312 3207 618.8 3296 4578
> > Total: 2359 3236 623.2 3312 4609
>
> > Percentage of the requests served within a certain time (ms)
> > 50% 3312
> > 66% 3640
> > 75% 3671
> > 80% 3734
> > 90% 3984
> > 95% 4421
> > 98% 4484
> > 99% 4609
> > 100% 4609 (longest request)
>
> > ab -c 3 -n 100http://www.mysite.com/index
> > 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/
>
> > Benchmarkingwww.mysite.com(be patient).....done
>
> > Server Software: Apache/2.2.6
> > Server Hostname: www.mysite.com
> > Server Port: 80
>
> > Document Path: /index
> > Document Length: 109094 bytes
>
> > Concurrency Level: 3
> > Time taken for tests: 108.703125 seconds
> > Complete requests: 100
> > *Failed requests: 46*
> > (Connect: 0, Length: 46, Exceptions: 0)
> > Write errors: 0
> > Total transferred: 10940894 bytes
> > HTML transferred: 10909394 bytes
> > Requests per second: 0.92 [#/sec] (mean)
> > Time per request: 3261.094 [ms] (mean)
> > Time per request: 1087.031 [ms] (mean, across all concurrent
> > requests)
> > Transfer rate: 98.29 [Kbytes/sec] received
>
> > Connection Times (ms)
> > min mean[+/-sd] median max
> > Connect: 0 0 2.1 0 15
> > Processing: 2250 3240 734.5 3484 4750
> > Waiting: 2234 3205 733.7 3421 4734
> > Total: 2250 3241 734.7 3484 4750
>
> > Percentage of the requests served within a certain time (ms)
> > 50% 3484
> > 66% 3765
> > 75% 3875
> > 80% 3968
> > 90% 4109
> > 95% 4421
> > 98% 4703
> > 99% 4750
> > 100% 4750 (longest request)
>
> --
> Thanks
> Joshua
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment