ICEfaces
  1. ICEfaces
  2. ICE-3105

Session expiry protocol needs enhancement

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.2
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces

      Description

      When a session expires in ICEfaces, the server inserts a <session-expired> response in the response queue, and waits to receive /block/dispose-view requests for all Views found in the session. There are a couple of problems with the current approach:

      1) Session disposal is a serial affair with a timeout of 15 seconds. This is a problem in JMeter test environments that can't easily perform the shutdown protocol, resulting in (for example) a 25 minute wait to fully dispose of 100 expired sessions, beyond the initial session expiry time.

      2) The code doesn't differentiate between synchronous and asynchronous mode, and if the connection is synchronous, there are no agents in the browser able to complete the protocol, resulting in the full wait penalty for every session. If new sessions are created at a rate of > 1 every 15 seconds, this manifests as a memory leak.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Greg Dick
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: