activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Gao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-4261) Please change logging message from INFO to WARN or ERROR when persistent store is full
Date Mon, 04 Feb 2013 19:58:12 GMT

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

Vincent Gao commented on AMQ-4261:
----------------------------------

According to log4j:  
The WARN level designates potentially harmful situations.

I agree that this is expected behavior by design.  However, users need to be informed of harmful
situations regardless of the cause.  Logging the flooding situation at WARN level serves the
intention to keep users informed of harmful situations.     
                
> 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

Mime
View raw message