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

[GSS](7.4.z) Session is not getting expired even after Session timeout time. In EAP 7.4 Update 10 with JDK 1.8

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.4.12.CR1, 7.4.12.GA
    • 7.4.11.CR1
    • Clustering
    • None

    Description

      Environment: JBoss EAP 7.4.10 (standalone.xml), Red Hat build of OpenJDK 1.8.0_345

       

      Issue: the issue is when we create 500+ concurrent sessions and the Session timeout for test applications is 5 minutes. But after 5 mins we see that some of the sessions was not expired which was suppose to expire. 

       

      In the screenshot [img_jdk8.png] I created 600 concurrent sessions but after 5 mins i can see 587 sessions was expired but 13 connections were active which was suppose to expire after 5 mins. 

       

      Steps to reproduce:

      • start eap 7.4.10 with JDK 1.8 in standalone mode
      • deploy the attached ear file
      • create 600 concurrent sessions. To do this you can use curl command as below:
        for i in {1..600}; do curl http://127.0.0.1:8080/subapp1/; done
      • Then open the JBoss admin console Runtime->web->Deployment->Click on any deployment as shown in in the screenshot and enable statistics
      • Wait for 5 mins and you will see that some of the sessions was still active which was suppose to expire after 5 mins.

       

      Note: This issue is not happening in JDK 11(check screenshot  [img_jdk11.png] ). Using JDK11 and JBoss EAP 7.4.10 all the sessions is getting expired after 5 mins as expected.

       

      Attachments

        1. 03485516-2.btm
          2 kB
        2. crosscontext-ear-1.0-SNAPSHOT.ear
          11 kB
        3. EAPSUP-1162.diff
          1 kB
        4. img_jdk11.png
          img_jdk11.png
          163 kB
        5. img_jdk8.png
          img_jdk8.png
          160 kB
        6. missedexpiration.log
          13 kB
        7. Screenshot from 2023-04-18 17-44-29.png
          Screenshot from 2023-04-18 17-44-29.png
          23 kB

        Activity

          People

            pferraro@redhat.com Paul Ferraro
            pferraro@redhat.com Paul Ferraro
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: