Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5687

max-active-sessions doesn't work with enabled statistics

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 10.0.0.CR5
    • 10.0.0.CR4
    • Web (Undertow)
    • None
    • Hide
      1. Deploy application which creates sessions on request
      2. Define max-active-sessions to N and enable statistics
      3. Do N+1 requests (each as new client => something like this for N=3 {{for i in {1..4}

        ; do curl -I -c cookie$i.txt http://localhost:8080/simple-servlet/counter; done}}

      4. The N + 1 request should be rejected due limit being reached

      Note when the statistics are not enabled, it works as expected.

      Show
      Deploy application which creates sessions on request Define max-active-sessions to N and enable statistics Do N+1 requests (each as new client => something like this for N=3 {{for i in {1..4} ; do curl -I -c cookie$i.txt http://localhost:8080/simple-servlet/counter ; done}} The N + 1 request should be rejected due limit being reached Note when the statistics are not enabled, it works as expected.

    Description

      When having defined max-active-sessions and enabled statistics /subsystem=undertow:write-attribute(name=statistics-enabled, value=true) the setting of max-active-sessions is ignored.

      Attachments

        Issue Links

          Activity

            People

              ehugonne1@redhat.com Emmanuel Hugonnet
              rhatlapa@redhat.com Radim Hatlapatka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: