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 8982B10F47 for ; Sat, 2 Nov 2013 20:55:18 +0000 (UTC) Received: (qmail 37591 invoked by uid 500); 2 Nov 2013 20:55:18 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 37556 invoked by uid 500); 2 Nov 2013 20:55:18 -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 37547 invoked by uid 99); 2 Nov 2013 20:55:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Nov 2013 20:55:18 +0000 Date: Sat, 2 Nov 2013 20:55:18 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMQ-3233) warnOnProducerFlowControl is never reset to 'true' after the first INFO message is logged. 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-3233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated AMQ-3233: ----------------------------- Fix Version/s: NEEDS_REVIEWED > warnOnProducerFlowControl is never reset to 'true' after the first INFO message is logged. > ------------------------------------------------------------------------------------------ > > Key: AMQ-3233 > URL: https://issues.apache.org/jira/browse/AMQ-3233 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.4.2 > Environment: All > Reporter: Adrian Trenaman > Fix For: NEEDS_REVIEWED > > > Looking at the code in Queue.java (around line 543), you can see that the warnOnProducerFlowControl variable is set to false when we log the INFO message "Usage Manager Memory Limit (...) reached on ....". However, it is never set to true again. So, if we consider operations users trawling through large logs over a period of time, the may see the first warning on Monday, but then see no further warnings of this behavior for the rest of the week. Surely we should be resetting the warnOnProducerFlowControl variable to true, so that subsequent flow control situations are correctly logged? -- This message was sent by Atlassian JIRA (v6.1#6144)