When GlassFish Application server is installed on a 2.4 kernel and stressed using a stress tool (ab), the Selector seems to lose registration. Opening 300 connections that does a total of 100 requests on a single Selector demonstrate the problem. Mainly, doing: % ab -n1000 -c300 -k http://localhost:8080/images.jar The benchmark will output: Benchmarking localhost (be patient) Completed 100 requests Completed 200 requests Completed 300 requests Completed 400 requests Completed 500 requests Completed 600 requests Completed 700 requests Completed 800 requests Send request timed out! Completed 900 requests Send request timed out! Running the same test on 2.6x kernel (on the same hardware) isn't producing the problem. Attached is a test case that can be used to demonstrate the problem.
|