Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-8448

[Broker-J] Http connection objects are leaked on HTTP port with a support for both TLS and TCP transports

    XMLWordPrintableJSON

Details

    Description

      When HTTP port is configured with a support for TLS and non-TLS transports, the factory TlsOrPlainConnectionFactory is used to create instances of TlsOrPlainConnectionFactory$PlainOrTlsConnection. The established HTTP connections are registered in map HttpManagement$ConnectionTrackingListener#_closeFutures. However, TLS connection objects are not removed from the map on their close and remain referenced until broker is restarted. With frequent REST API calls the leaked connection objects can cause OOM.

      The issue only affects TLS connections. The non-TLS connection do not cause memory leak.
      The issue could be worked around by configuring only TLS transport (or only TCP transport) on the HTTP port.

      Attachments

        Activity

          People

            Unassigned Unassigned
            orudyy Alex Rudyy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: