activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: Utility to debug KahaDB log files
Date Tue, 11 Dec 2012 13:12:21 GMT
Hi,

you might wanna check http://fusesource.com/issues/browse/MB-756

and see if you can reuse some of that stuff (it never found it's way
back to apache trunk).

Regards
--
Dejan Bosanac
----------------------
Red Hat, Inc.
FuseSource is now part of Red Hat
dbosanac@redhat.com
Twitter: @dejanb
Blog: http://sensatic.net
ActiveMQ in Action: http://www.manning.com/snyder/


On Mon, Dec 10, 2012 at 9:13 AM, RJtokenlanring
<ing.marco.colombo@gmail.com> wrote:
> Hi all, I've just started to write a small utility to debug
> messages withing a KahaDB. Main use case is to offline understand what is
> filled in the store
> and why logs are not cleaned.
>
> I've started the implementation, but I want to write this utility catching
> *all the knowledged that is out there*, so we can add all the major use
> cases and needed information.
>
> So I want to start with these 2 use cases:
> list all messages in the store (the trivial one)
> Some intelligent analysis to help the admin/user to understand what is going
> wrong with application.
>
> I'm playing with a store that contains a file (42) not cleaned up. It seams
> that contains a persistent message delivered to a topic.
> But if I connect the consumer (TopicReceiver) no messages are received.
> I think this is a good use case, isn't it?
>
> For example, here, I was able to get this information:
>
> ....
> Destination: dest:1:topic/RawDataTopic, [file: 42]
> File 42 cannot be cleaned up due to still present active locations:
> [42:26447666, 42:26450037, 42:26456273]
> Non deleted file due to present messages - active sbiscriptions:
> [DH-topicreceiver:TopicReceiver]
> DH-topicreceiver:TopicReceiver=[110, 8196..8198, 8201, 101502]
> ....
>
> Here I have some a set of Location pointer ([42:26447666, 42:26450037,
> 42:26456273]).
>
> What should be checked in these cases and what should be reported?
>
> Any help is much appreciated!
>
> Thx!
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Utility-to-debug-KahaDB-log-files-tp4660428.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Mime
View raw message