Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6399695

(se) Selector loses connections under stress with Linux kernel 2.4.x

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P4
    • None
    • 9.0pe
    • core-libs
    • x86
    • linux_redhat_8.0

    Description

      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.

      Attachments

        Activity

          People

            sherman Xueming Shen
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: