On 03/07/2012 09:06 AM, Radim Kolar wrote:
> Dne 6.3.2012 21:20, forums_at_java.net napsal(a):
>> The followings are blocking :
>>
>> * http://java.net/jira/browse/GLASSFISH-18446 [1] : i use Apache + APJ
> there is another problem which causes truncated output in 3.1.1 while
> glassfish is under stress. applies to both AJP and HTTP. It does not
> show if you do some pauses (10ms) before sending new request.
Radim, what you're trying is not even stress. I'd be interested to see
your GF config, is it just a static page test?
Can you pls. confirm that you observe the same, when connecting ab
directly to GF port?
Thanks.
Alexey.
>
> quick demo:
>
> ponto:(admin)~>ab -n 3000 http://www.filez.com/
> This is ApacheBench, Version 2.3 <$Revision: 655654 $>
> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
> Licensed to The Apache Software Foundation, http://www.apache.org/
>
> Benchmarking www.filez.com (be patient)
> Completed 300 requests
> Completed 600 requests
> Completed 900 requests
> Completed 1200 requests
> Completed 1500 requests
> Completed 1800 requests
> Completed 2100 requests
> Completed 2400 requests
> Completed 2700 requests
> Completed 3000 requests
> Finished 3000 requests
>
>
> Server Software: Apache/GlassFish
> Server Hostname: www.filez.com
> Server Port: 80
>
> Document Path: /
> Document Length: 3984 bytes
>
> Concurrency Level: 1
> Time taken for tests: 3.326 seconds
> Complete requests: 3000
> ********************************
> Failed requests: 2364
> ********************************
> (Connect: 0, Receive: 0, Length: 2364, Exceptions: 0)
> Write errors: 0
> Total transferred: 12552780 bytes
> HTML transferred: 11883780 bytes
> Requests per second: 901.98 [#/sec] (mean)
> Time per request: 1.109 [ms] (mean)
> Time per request: 1.109 [ms] (mean, across all concurrent requests)
> Transfer rate: 3685.67 [Kbytes/sec] received
>
> Connection Times (ms)
> min mean[+/-sd] median max
> Connect: 0 0 0.0 0 0
> Processing: 1 1 2.1 1 111
> Waiting: 1 1 2.1 1 111
> Total: 1 1 2.1 1 111
>
> Percentage of the requests served within a certain time (ms)
> 50% 1
> 66% 1
> 75% 1
> 80% 1
> 90% 1
> 95% 1
> 98% 1
> 99% 1
> 100% 111 (longest request)
>