Hmm....looks like it is. Got the same result with Tomcat 7.

Any other Mac users out there experiencing lockups/timeouts when hitting a
web server rapidly via the loopback adapter?


On 18 June 2013 22:19, Joakim Erdfelt <[email protected]> wrote:

> It something with your machine.
>
> $ ab -c 1 -n 20000 http://localhost:8080/
> 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 localhost (be patient)
> Completed 2000 requests
> Completed 4000 requests
> Completed 6000 requests
> Completed 8000 requests
> Completed 10000 requests
> Completed 12000 requests
> Completed 14000 requests
> Completed 16000 requests
> Completed 18000 requests
> Completed 20000 requests
> Finished 20000 requests
>
>
> Server Software:        Jetty(9.0.3.v20130506)
> Server Hostname:        localhost
> Server Port:            8080
>
> Document Path:          /
> Document Length:        2775 bytes
>
> Concurrency Level:      1
> Time taken for tests:   10.146 seconds
> Complete requests:      20000
> Failed requests:        0
> Write errors:           0
> Total transferred:      60800000 bytes
> HTML transferred:       55500000 bytes
> Requests per second:    1971.14 [#/sec] (mean)
> Time per request:       0.507 [ms] (mean)
> Time per request:       0.507 [ms] (mean, across all concurrent requests)
> Transfer rate:          5851.81 [Kbytes/sec] received
>
> Connection Times (ms)
>               min  mean[+/-sd] median   max
> Connect:        0    0   0.0      0       0
> Processing:     0    0   0.6      0      48
> Waiting:        0    0   0.6      0      47
> Total:          0    0   0.6      0      48
>
> Percentage of the requests served within a certain time (ms)
>   50%      0
>   66%      1
>   75%      1
>   80%      1
>   90%      1
>   95%      1
>   98%      1
>   99%      2
>  100%     48 (longest request)
>
>
> :: And ::
>
> $ ab -c 1 -n 20000 http://localhost:8080/
> 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 localhost (be patient)
> Completed 2000 requests
> Completed 4000 requests
> Completed 6000 requests
> Completed 8000 requests
> Completed 10000 requests
> Completed 12000 requests
> Completed 14000 requests
> Completed 16000 requests
> Completed 18000 requests
> Completed 20000 requests
> Finished 20000 requests
>
>
> Server Software:        Jetty(8.1.9.v20130131)
> Server Hostname:        localhost
> Server Port:            8080
>
> Document Path:          /
> Document Length:        2239 bytes
>
> Concurrency Level:      1
> Time taken for tests:   9.106 seconds
> Complete requests:      20000
> Failed requests:        0
> Write errors:           0
> Total transferred:      48840000 bytes
> HTML transferred:       44780000 bytes
> Requests per second:    2196.30 [#/sec] (mean)
> Time per request:       0.455 [ms] (mean)
> Time per request:       0.455 [ms] (mean, across all concurrent requests)
> Transfer rate:          5237.67 [Kbytes/sec] received
>
> Connection Times (ms)
>               min  mean[+/-sd] median   max
> Connect:        0    0   0.0      0       0
> Processing:     0    0   0.7      0      59
> Waiting:        0    0   0.7      0      59
> Total:          0    0   0.7      0      59
>
> Percentage of the requests served within a certain time (ms)
>   50%      0
>   66%      0
>   75%      1
>   80%      1
>   90%      1
>   95%      1
>   98%      1
>   99%      1
>  100%     59 (longest request)
>
>
>
> --
> Joakim Erdfelt <[email protected]>
> webtide.com <http://www.webtide.com/>
> Developer advice, services and support
> from the Jetty & CometD experts
> eclipse.org/jetty - cometd.org
>
>
> On Tue, Jun 18, 2013 at 2:14 PM, Tom Akehurst <[email protected]
> > wrote:
>
>> Hi,
>>
>> I'm having an issue with the Jetty server whereby throwing rapid (single
>> threaded) GETs at the root URL results in it locking up then timing out at
>> ~16380 requests. I've tried this in versions 6.1.16, 8.1.5.v20120716
>> and 9.0.3.v20130506, all with identical results. In each case I tested with
>> a vanilla install of Jetty with no code deployed and no configuration
>> changed other than port numbers.
>>
>> Here is my Apache Bench output for versions 8:
>>
>> $ ab -c 1 -n 20000 http://localhost:8091/
>> 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 localhost (be patient)
>> Completed 2000 requests
>> Completed 4000 requests
>> Completed 6000 requests
>> Completed 8000 requests
>> Completed 10000 requests
>> Completed 12000 requests
>> Completed 14000 requests
>> Completed 16000 requests
>> apr_socket_recv: Operation timed out (60)
>> Total of 16378 requests completed
>>
>> and version 9:
>> $ ab -c 1 -n 20000 http://localhost:8080/
>> 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 localhost (be patient)
>> Completed 2000 requests
>> Completed 4000 requests
>> Completed 6000 requests
>> Completed 8000 requests
>> Completed 10000 requests
>> Completed 12000 requests
>> Completed 14000 requests
>> Completed 16000 requests
>> apr_socket_recv: Operation timed out (60)
>> Total of 16380 requests completed
>>
>> I'm running a 2010 MacBook Pro i5 and I've run this test on Snow Leopard
>> and Mountain Lion. I've also seen evidence of this problem on a colleague's
>> Windows 7 laptop.
>>
>> Has anyone else ever seen this?
>>
>> Thanks,
>> Tom
>>
>> _______________________________________________
>> jetty-users mailing list
>> [email protected]
>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>
>>
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
>
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to