CXF
  1. CXF
  2. CXF-2591

MAPCodec : memory leak with an async client with network issues (connection timeout, read timeout etc)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.2.5
    • Fix Version/s: 2.1.9, 2.2.6
    • Component/s: WS-* Components
    • Labels:
      None
    • Environment:

      CXF 2.2.2 & 2.2.5 / JDK 1.6 / Linux (Ubuntu 9.10)

      Description

      Context :
      a JAX-WS asynchronous client, with WS-Adressing enabled
      when there are network issues like connection timeout, read timeout etc,

      Observed facts :
      MAPCodec::uncorrelatedExchanges is not cleaned when the client is trying to request the server and there is a network issue.

      In such a case, the InterceptorChain is by-passed, so MAPCodec::handleFault() is NOT called and so the MAPCodec::uncorrelatedExchanges grows and grows until OOM

      Don't have any patch (yet) to provide because this is something more architectural than technical

      When a network issue occurs, this throws an ExecutionException in JaxwsClientCallback::handleResponse(), the "normal" InterceptorChain is then by-passed there IMHO ...

        Activity

        Thomas Sauzedde created issue -
        Daniel Kulp made changes -
        Field Original Value New Value
        Assignee Daniel Kulp [ dkulp ]
        Daniel Kulp made changes -
        Fix Version/s 2.1.9 [ 12314380 ]
        Fix Version/s 2.2.6 [ 12314381 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Daniel Kulp made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12485519 ] Default workflow, editable Closed status [ 12604730 ]

          People

          • Assignee:
            Daniel Kulp
            Reporter:
            Thomas Sauzedde
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development