KahaMessageStore does not close or delete files for deleted destinations.
-------------------------------------------------------------------------

                 Key: AMQ-1623
                 URL: https://issues.apache.org/activemq/browse/AMQ-1623
             Project: ActiveMQ
          Issue Type: Bug
          Components: Message Store
    Affects Versions: 5.0.0
         Environment: Ubuntu Linux
            Reporter: Geoff Holden


When a persistent destination is deleted via the web console or JMX, the file 
remains on disk and remains open, tying up a file descriptor.
I discovered this trying to run some stress tests that create and delete queues 
and topics for different tests, but it runs out of file descriptors and crashes 
when using the KahaMessageStore.

I started to look into this and I saw that the Topic or Queue dispose method 
calls MessageStore.removeAllMessages, but I think to clean things up properly 
you'd have to add a MessageStore.dispose to do any necessary cleanup.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to