From dev-return-64464-archive-asf-public=cust-asf.ponee.io@activemq.apache.org Wed Feb 28 07:05:35 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 5FFC0180657 for ; Wed, 28 Feb 2018 07:05:35 +0100 (CET) Received: (qmail 99796 invoked by uid 500); 28 Feb 2018 06:05:34 -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 99783 invoked by uid 99); 28 Feb 2018 06:05:33 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2018 06:05:33 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E82B4F4E1A; Wed, 28 Feb 2018 06:05:32 +0000 (UTC) From: morefuntang To: dev@activemq.apache.org Reply-To: dev@activemq.apache.org Message-ID: Subject: [GitHub] activemq-artemis pull request #1907: ARTEMIS-1705 Queue stop deliver after r... Content-Type: text/plain Date: Wed, 28 Feb 2018 06:05:32 +0000 (UTC) GitHub user morefuntang opened a pull request: https://github.com/apache/activemq-artemis/pull/1907 ARTEMIS-1705 Queue stop deliver after remove all paged message over JMX I remove all messages in Queue via removeAllMessages in JMX After removed all paged message, queue stopped deliver message. During debug, we found that memory size of the queue is more then 2 pages size, but both message references and intermediate message references are empty. The deliver runner will not depage because queue memory size is over max size. You can merge this pull request into a Git repository by running: $ git pull https://github.com/morefuntang/activemq-artemis live-only-2.4.0 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/activemq-artemis/pull/1907.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1907 ---- commit 430648661db6871e3f6d3cbfa42d52e4cad6f24c Author: 17103355 <17103355@...> Date: 2018-02-28T03:38:00Z Only messages from MessageReferences are subtracted from the queueMemorySize commit bc6084ba5a14f73ef7d67d679df043bbb2412cbd Author: 17103355 <17103355@...> Date: 2018-02-28T03:46:08Z Only messages from MessageReferences are subtracted from the queueMemorySize ---- ---