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.
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
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:
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
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