Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-1920

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.ER4
    • 7.0.0.ER1
    • 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.

      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.

            sdouglas1@redhat.com Stuart Douglas
            rhatlapa@redhat.com Radim Hatlapatka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: