Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 88F6F9FC6 for ; Sat, 3 Mar 2012 06:22:24 +0000 (UTC) Received: (qmail 3873 invoked by uid 500); 3 Mar 2012 06:22:24 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 3753 invoked by uid 500); 3 Mar 2012 06:22:23 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 3649 invoked by uid 99); 3 Mar 2012 06:22:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Mar 2012 06:22:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Mar 2012 06:22:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CE9006774 for ; Sat, 3 Mar 2012 06:21:59 +0000 (UTC) Date: Sat, 3 Mar 2012 06:21:59 +0000 (UTC) From: "Krishnadasan T S (Commented) (JIRA)" To: dev@activemq.apache.org Message-ID: <1879411044.17481.1330755719856.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2038925710.8231.1329973429222.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AMQ-3736) Kaha DB Db.data file is growing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AMQ-3736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13221531#comment-13221531 ] Krishnadasan T S commented on AMQ-3736: --------------------------------------- Hi, As per documentation it is said that "The metadata store contains the complete broker metadata, consisting mainly of a B-tree index giving the message locations in the data logs". So if the previous data logs files are cleared then this B-tree node corresponding to that file also will be cleared write. So in that case these B-tree will be shrinking and growing periodically. I don't know i am write or wrong. In my case there is only current working data-*.log file (only one file) there, previous files are cleared. So can i conclude that the cause for growing db.data is because of the strategy of topic creation logic mentioned in the previous post. > Kaha DB Db.data file is growing > ------------------------------- > > Key: AMQ-3736 > URL: https://issues.apache.org/jira/browse/AMQ-3736 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.5.1 > Environment: cent os 5.3, java 6 update 30 > Reporter: Krishnadasan T S > Priority: Blocker > Attachments: activemq.xml > > > In our production and development environment db.data file is growing. Within few weeks it reaches GB's in size. When it grows larger broker hangs frequently. I have already reported a bug in 5.4.2(AMQ-3710) url https://issues.apache.org/jira/browse/AMQ-3710. In that case db.data had a size of 5 GB. When we cleared kaha db related files db.data,db.redo and db-735.log files, that issue solved.By further monitoring We noticed that db.data file is growing by day from MB to GB. And when the size become larger, the broker hanging issue is coming back. > Now we have updated Our activemq broker to 5.5.1. But db.data is still growing. Every day we are monitoring it and if it is become big(200 mb) we are clearing all kaha related files before our business start. > Other kaha related files are normal. db-*.log files are cleared by kaha db. db.redo file is not growing. Only db-data file is growing. > I don't think this is a correct behavior. At certain point of time it should clear unwanted data write. I am using the same configuration without much change. > I have attached active mq config file with this. > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira