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 763CFE2DD for ; Fri, 18 Jan 2013 09:16:17 +0000 (UTC) Received: (qmail 751 invoked by uid 500); 18 Jan 2013 09:16:17 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 676 invoked by uid 500); 18 Jan 2013 09:16:16 -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 159 invoked by uid 99); 18 Jan 2013 09:16:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jan 2013 09:16:16 +0000 Date: Fri, 18 Jan 2013 09:16:16 +0000 (UTC) From: "SuoNayi (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (AMQ-4261) Please change logging message from INFO to WARN or ERROR when persistent store is full MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-4261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13557065#comment-13557065 ] SuoNayi edited comment on AMQ-4261 at 1/18/13 9:15 AM: ------------------------------------------------------- Hi,only logging these events may not help you to quickly react. When the store is full producers can fail when sending more messages if you enable sendFailIfNoSpace option. Furthermore you may want to receive a warning when this happens rather than manual checking logs on the production servers. You can subscribe Advisory topic for such events and then publish warnings. was (Author: wangyin): Hi,only logging these events may not help you to quickly react. When the store is full producers can fail when sending more messages if you enable sendFailIfNoSpace option. Furthermore you may want to receive a warning when this happens rather than manual checking logs on the production servers. You can subscribe Advisory topic for such events and publish warnings. > Please change logging message from INFO to WARN or ERROR when persistent store is full > --------------------------------------------------------------------------------------- > > Key: AMQ-4261 > URL: https://issues.apache.org/jira/browse/AMQ-4261 > Project: ActiveMQ > Issue Type: Improvement > Affects Versions: 5.5.1 > Reporter: Vincent Gao > > We use KahaDB for ActiveMQ persistence. When queue's persistent store is full, a message such as the following is logged at the INFO level. > We'd like to request the message to be logged at the ERROR or WARN level. This is because production systems typically configures loggers to display messages at WARN level. A situation such as this gets into deadlock and makes the application unusable. Displaying the message at the ERROR or WARN > level will provide visibility about the issue for typical production usage. > 2013-01-17 10:56:28,563 | INFO | iveMQ Task-37644 | Queue | 118 - org.apache.activemq.activemq-core - 5.5.1.fuse-7-061 | Usage > (default:store:queue://xrm-BundleStagingQ:store) percentUsage=99%, usage=1094475857, limit=1073741824, percentUsageMinDelta=1%;Parent:Usage(default:store) > percentUsage=101%, usage=1094475857, limit=1073741824, percentUsageMinDelta=1%: Persistent store is Full, 100% of 1073741824. Stopping producer (ID:vlcov > 46.fmr.com-47345-1358284999111-4:6:2548:1) to prevent flooding queue://xrm-BundleStagingQ. See http://activemq.apache.org/producer-flow-control.html for m > ore info (blocking for: 29828s) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira