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

        Greg Dick created issue -
        Hide
        Greg Dick added a comment -

        The logic that was waiting for view disposal protocol was removed as part of ICE-3091.

        Show
        Greg Dick added a comment - The logic that was waiting for view disposal protocol was removed as part of ICE-3091 .
        Greg Dick made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.7.2 [ 10130 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.7.2RC1 [ 10140 ]
        Fix Version/s 1.7.2 [ 10130 ]
        Ken Fyten made changes -
        Fix Version/s 1.7.2 [ 10130 ]
        Fix Version/s 1.7.2RC1 [ 10140 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: