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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • qpid-java-broker-7.0.3, qpid-java-broker-7.1.0
    • qpid-java-broker-7.1.0
    • Broker-J
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: