activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hariharan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-3453) Tool for reading messages in journal files
Date Wed, 17 Aug 2011 07:11:27 GMT

    [ https://issues.apache.org/jira/browse/AMQ-3453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086174#comment-13086174
] 

Hariharan commented on AMQ-3453:
--------------------------------

Gary, logging really helped me in identifying the issue. 
We had not configured broker to discard the dead letters and so DLQ was holding reference
to all of them.

Thank you so much.

> Tool for reading messages in journal files
> ------------------------------------------
>
>                 Key: AMQ-3453
>                 URL: https://issues.apache.org/jira/browse/AMQ-3453
>             Project: ActiveMQ
>          Issue Type: Wish
>          Components: Broker
>            Reporter: Hariharan
>              Labels: tools
>
> Hi,
> Am facing some serious issues with AMQ. Some inputs from my side on what I see:
> 1. Am using AMQ 5.5
> 2. kahaDB persistence mechanism is being used.
> 2. The max journal file size set is 64 mb.
> 3. All messages posted on queues and topics are being consumed successfully by the clients.
> 4. I checked the pending messages by clicking on browseMessages button in Operations
tab under each queue and topic and a lot of them were empty while some had messages that were
variable over time. So am sure the messages are being acknowledged properly.
> But what I see is that the journal files are not getting cleaned up regularly. Some of
them do get cleaned up but a lot of them stay back. A snap shot is given below. 
> Total size of this folder is 1.6G and growing.
> {code:xml}
> -rw-rw-r-- 1 manih manih        0 Aug  6 09:15 lock
> -rw-rw-r-- 1 manih manih 67110696 Aug  8 10:37 db-8.log
> -rw-rw-r-- 1 manih manih 67115667 Aug  8 13:34 db-9.log
> -rw-rw-r-- 1 manih manih 67109195 Aug  9 03:43 db-13.log
> -rw-rw-r-- 1 manih manih 67108941 Aug  9 07:42 db-14.log
> -rw-rw-r-- 1 manih manih 67110336 Aug  9 15:56 db-16.log
> -rw-rw-r-- 1 manih manih 67108973 Aug  9 18:41 db-17.log
> -rw-rw-r-- 1 manih manih 67109661 Aug 10 06:06 db-20.log
> -rw-rw-r-- 1 manih manih 67112421 Aug 10 14:43 db-22.log
> -rw-rw-r-- 1 manih manih 67108882 Aug 10 20:30 db-24.log
> -rw-rw-r-- 1 manih manih 67109313 Aug 11 09:19 db-27.log
> -rw-rw-r-- 1 manih manih 67109241 Aug 11 16:30 db-29.log
> -rw-rw-r-- 1 manih manih 67108976 Aug 12 06:02 db-33.log
> -rw-rw-r-- 1 manih manih 67116308 Aug 12 11:11 db-34.log
> -rw-rw-r-- 1 manih manih 67116690 Aug 12 15:54 db-35.log
> -rw-rw-r-- 1 manih manih 67109627 Aug 12 18:57 db-36.log
> -rw-rw-r-- 1 manih manih 67111521 Aug 13 02:54 db-37.log
> -rw-rw-r-- 1 manih manih 67114239 Aug 13 12:13 db-38.log
> -rw-rw-r-- 1 manih manih 67117361 Aug 13 21:26 db-39.log
> -rw-rw-r-- 1 manih manih 67117848 Aug 14 06:46 db-40.log
> -rw-rw-r-- 1 manih manih 67113289 Aug 15 13:09 db-46.log
> -rw-rw-r-- 1 manih manih 67109565 Aug 15 17:05 db-47.log
> -rw-rw-r-- 1 manih manih 67115347 Aug 15 21:32 db-48.log
> -rw-rw-r-- 1 manih manih 67109370 Aug 16 05:10 db-50.log
> -rw-rw-r-- 1 manih manih  3291400 Aug 16 08:36 db.redo
> -rw-rw-r-- 1 manih manih 53694464 Aug 16 08:36 db.data
> -rw-rw-r-- 1 manih manih 66584576 Aug 16 08:36 db-51.log
> {code}
> If all messages are being consumed regularly, then am not sure why the old files are
staying back while some of them created after them got cleaned up.
> Am not able to read the files as they are in binary format. Am also not sure if I can
go ahead and delete the old files.
> Is there any tool that can help me in finding out what messages these files are actually
holding? If there are no tools like that can AMQ developers develop one? 
> Am sure it would be really useful for a lot of us.
> Thanks in advance.
> Hari

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message