Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-297

IO worker connection count provides incorrect values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.4.6.Final
    • 3.4.5.Final, 3.5.0.Beta7
    • nio-impl
    • None
    • Hide
      1. start server
      2. check actual connection count, which should be 0 at the beginning [1]
      3. do multiple concurrent requests => ab -n 50 -c 50 http://127.0.0.1:8080/
      4. check again the connection count after requests finished with [1] and you can see that the number is negative, which is incorrect.

      [1] /subsystem=io/worker=default/server=\/127.0.0.1\:8080:read-resource(include-runtime=true)

      Show
      start server check actual connection count, which should be 0 at the beginning [1] do multiple concurrent requests => ab -n 50 -c 50 http://127.0.0.1:8080/ check again the connection count after requests finished with [1] and you can see that the number is negative, which is incorrect. [1] /subsystem=io/worker=default/server=\/127.0.0.1\:8080:read-resource(include-runtime=true)

    Description

      If I create multiple concurrent requests to server, the count is lower than actual number of connections established (visible with long running requests) and also after the requests are processed, the connection count becomes negative number.

      Attachments

        Issue Links

          Activity

            People

              thofman Tomas Hofman
              thofman Tomas Hofman
              Jan Kašík Jan Kašík
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: