ICEfaces
  1. ICEfaces
  2. ICE-2663

ICEfaces AHS: Thread-leak when using Liferay/Tomcat/AHS

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.7DR#3
    • Fix Version/s: 1.7Beta1, 1.7
    • Component/s: None
    • Labels:
      None
    • Environment:
      Liferay Portal 4.3.x / Tomcat 5.5 / ActiveMQ 5.0.0 / ICEfaces Asynchronous HTTP Server

      Description

      Tomcat seems to be getting into a thread-leak problem when having a fair amount of asynchronous ICEfaces Portlets on one single Portal page. Eventually it is running out of its 150 threads in the thread pool.

        Activity

        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Jack van Ooststroom [ jack.van.ooststroom ]
        Ken Fyten made changes -
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Priority Blocker [ 1 ] Critical [ 2 ]
        Jack Van Ooststroom made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Jack Van Ooststroom added a comment -

        The problem in this case was that when an incoming request was received put there was a pending request as well, the pending request was replaced by the new request without handling the pending request first, by replying with an empty response. This caused the pending request to get lost in the void, but holding on to a precious Tomcat thread.

        Now the pending requests gets satisfied first with an empty response, thus releasing the Tomcat thread, and then the new incoming request is set as the new pending request. Marking this one as FIXED.

        Show
        Jack Van Ooststroom added a comment - The problem in this case was that when an incoming request was received put there was a pending request as well, the pending request was replaced by the new request without handling the pending request first, by replying with an empty response. This caused the pending request to get lost in the void, but holding on to a precious Tomcat thread. Now the pending requests gets satisfied first with an empty response, thus releasing the Tomcat thread, and then the new incoming request is set as the new pending request. Marking this one as FIXED.
        Jack Van Ooststroom made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Jack Van Ooststroom made changes -
        Fix Version/s 1.7Beta1 [ 10121 ]
        Affects Version/s 1.7DR#3 [ 10112 ]
        Priority Major [ 3 ] Blocker [ 1 ]
        Hide
        Jack Van Ooststroom added a comment -

        Changed Fix Version(s) to 1.7-Beta 1

        Show
        Jack Van Ooststroom added a comment - Changed Fix Version(s) to 1.7-Beta 1
        Jack Van Ooststroom made changes -
        Field Original Value New Value
        Assignee Jack van Ooststroom [ jack.van.ooststroom ]
        Jack Van Ooststroom created issue -
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #15635 Wed Jan 23 09:49:03 MST 2008 jack.van.ooststroom Fixed JIRA ICE-2663 : ICEfaces AHS: Thread-leak when using Liferay/Tomcat/AHS
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/servlet/ProcessHandler.java

          People

          • Assignee:
            Unassigned
            Reporter:
            Jack Van Ooststroom
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: