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

        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
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: