[ 
https://issues.apache.org/jira/browse/QPID-8156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Rudyy updated QPID-8156:
-----------------------------
    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:
 # create BDB HA virtual host node
 # delete BDB HA virtual host node
 # collect heap dump and check references to deleted virtual host node
{noformat}
select * from 
org.apache.qpid.server.virtualhostnode.berkeleydb.BDBHAVirtualHostNodeImplWithAccessChecking
{noformat}
 

  was:
{{SystemNodeRegistry}} of deleted {{VirtualHost}} is still referenced after 
virtual host node deletion. It prevents its 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:
 # create BDB HA virtual host node
 # delete BDB HA virtual host node
 # collect heap dump and check references to deleted virtual host node
{noformat}
select * from 
org.apache.qpid.server.virtualhostnode.berkeleydb.BDBHAVirtualHostNodeImplWithAccessChecking
{noformat}
 


> [Broker-J] Heap memory is leaked on deletion of virtual host node
> -----------------------------------------------------------------
>
>                 Key: QPID-8156
>                 URL: https://issues.apache.org/jira/browse/QPID-8156
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Broker-J
>    Affects Versions: qpid-java-broker-7.0.3, qpid-java-broker-7.1.0
>            Reporter: Alex Rudyy
>            Priority: Major
>
> {{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:
>  # create BDB HA virtual host node
>  # delete BDB HA virtual host node
>  # collect heap dump and check references to deleted virtual host node
> {noformat}
> select * from 
> org.apache.qpid.server.virtualhostnode.berkeleydb.BDBHAVirtualHostNodeImplWithAccessChecking
> {noformat}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to