Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 31932 invoked from network); 17 Sep 2009 17:21:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Sep 2009 17:21:41 -0000 Received: (qmail 13655 invoked by uid 500); 17 Sep 2009 17:21:41 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 13619 invoked by uid 500); 17 Sep 2009 17:21:41 -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 13609 invoked by uid 99); 17 Sep 2009 17:21:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 17:21:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 17:21:32 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A0E88234C1E9 for ; Thu, 17 Sep 2009 10:21:12 -0700 (PDT) Message-ID: <1051944629.1253208072656.JavaMail.jira@brutus> Date: Thu, 17 Sep 2009 10:21:12 -0700 (PDT) From: "Philippe Mouawad (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-2397) Strange behaviour of Store Percent Usage and associated Memory Usage controls : Abnormal SystemUsage memory limit reached In-Reply-To: <1229596264.1253205612293.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54320#action_54320 ] Philippe Mouawad commented on AMQ-2397: --------------------------------------- Investigating a little more , "Store percent used" behaviour seems ok. As I understand the size may vary in the following cases: - CleanupTask run - storage of a new message that induces file creation (when file is unused for example ...) Variations depend on periodicCleanupTask execution which merges files. Maybe a little note in docs would be helpful. So bug is more related to Is it a normal that reference store size is taken into account in the size of "Store percent used" beside the normal Journal ? Philippe www.ubik-ingenierie.com > Strange behaviour of Store Percent Usage and associated Memory Usage controls : Abnormal SystemUsage memory limit reached > -------------------------------------------------------------------------------------------------------------------------- > > Key: AMQ-2397 > URL: https://issues.apache.org/activemq/browse/AMQ-2397 > Project: ActiveMQ > Issue Type: Bug > Components: Broker, Message Store > Environment: JDK 5 1.5.0_14 / Windows XP / Linux > Reporter: Philippe Mouawad > Attachments: activemq.xml, activemq.zip, activemq520-bug.pdf > > > I attached the full scenario as a PDF to reproduce the issue. > In the attached configuration notice the following: > - org.apache.activemq.store.amq.AMQPersistenceAdapter is declared as a bean to allow Memory usage control on store > - Advisory messages are activated > - sendFailIfNoSpace is set to true > - loggingBrokerPlugin is activated > Since I have a listener that consumes messages I don't understand why although AMQ indicated 0 pending message: > - Store percent used continuously increase > - Memory limit is reached while it was at 0 > See attached files > Philippe > www.ubik-ingenierie.com -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.