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

[GSS](7.2.z) WFLY-12954 - Web sessions passivated on shutdown

XMLWordPrintable

    • +
    • Workaround Exists
    • Hide

      Remove <file-store> from the web session cache.
      (Only if no application using the cache has max-active-sessions configured)

      Show
      Remove <file-store> from the web session cache. (Only if no application using the cache has max-active-sessions configured)
    • Hide

      Deploy a web application configured as <distributable/>.
      Create sessions.
      Undeploy the application and/or shut down EAP.

      Observe the size of the file store, and the logs:
      14:50:27,830 INFO [org.infinispan.eviction.impl.PassivationManagerImpl] (ServerService Thread Pool – 86) ISPN000030: Passivated 33 entries in 6 milliseconds

      Expected behavior: "empty" file store (with only metadata) and log reporting 0 entries passivated.

      Show
      Deploy a web application configured as <distributable/>. Create sessions. Undeploy the application and/or shut down EAP. Observe the size of the file store, and the logs: 14:50:27,830 INFO [org.infinispan.eviction.impl.PassivationManagerImpl] (ServerService Thread Pool – 86) ISPN000030: Passivated 33 entries in 6 milliseconds Expected behavior: "empty" file store (with only metadata) and log reporting 0 entries passivated.

      With the default HA configuration, when a <distributable/> web application is stopped its sessions are persisted to disk. No max-active-sessions configuration used.

      This is a performance issue. It does not affect functionality, because the store is purged on startup.

      It affects all EAP 7 versions tested. It does not occur in EAP 6.

              pferraro@redhat.com Paul Ferraro
              rhn-support-dereed Dennis Reed
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: