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

[Broker-J] Heap memory is leaked on deletion of virtual host node

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: qpid-java-broker-7.0.3, qpid-java-broker-7.1.0
    • Fix Version/s: qpid-java-broker-7.1.0
    • Component/s: Broker-J
    • Labels:
      None

      Description

      SystemNodeRegistry of deleted VirtualHost is still referenced after virtual host node deletion. It prevents VHN/VH garbage collection. The reference to registry is hold by TrustStoreMessageSourceCreator$TrustStoreChangeListener which is registered  on broker as part of invocation TrustStoreMessageSourceCreator#register.

      The user impact is minimalistic as it is not expected that virtual host nodes are often created and deleted in production environment.

      Broker restart should resolve the issue.

      Steps to reproduce:

      1. create BDB HA virtual host node
      2. delete BDB HA virtual host node
      3. collect heap dump and check references to deleted virtual host node
        select * from org.apache.qpid.server.virtualhostnode.berkeleydb.BDBHAVirtualHostNodeImplWithAccessChecking
        

         

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              orudyy Alex Rudyy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: