Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8A7C4200C10 for ; Fri, 3 Feb 2017 12:42:07 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 890CC160B62; Fri, 3 Feb 2017 11:42:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D2F60160B48 for ; Fri, 3 Feb 2017 12:42:06 +0100 (CET) Received: (qmail 65766 invoked by uid 500); 3 Feb 2017 11:42:00 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 65739 invoked by uid 99); 3 Feb 2017 11:42:00 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2017 11:42:00 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 1330C1A06FB for ; Fri, 3 Feb 2017 11:42:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.233 X-Spam-Level: ** X-Spam-Status: No, score=2.233 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, SPF_FAIL=0.919, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id uXCGVNyqmfou for ; Fri, 3 Feb 2017 11:41:55 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 49C115F30D for ; Fri, 3 Feb 2017 11:41:55 +0000 (UTC) Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id AA1B92685D8E7 for ; Fri, 3 Feb 2017 04:41:48 -0700 (MST) Date: Fri, 3 Feb 2017 03:39:04 -0800 (PST) From: francesco81 To: users@activemq.apache.org Message-ID: <1486121944351-4721562.post@n4.nabble.com> In-Reply-To: References: <1485788293667-4721395.post@n4.nabble.com> <1485862037305-4721417.post@n4.nabble.com> <1485954137792-4721470.post@n4.nabble.com> Subject: Re: ARTEMIS: bad-performance behaviour after 7-10 days of usage MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Fri, 03 Feb 2017 11:42:07 -0000 Hi Clebert, ok, we will build some junit tests to replicate the problem, follwing the exemple section. Meanwhile, I can confirm to you the bug(s): it seems that the reference to the message is never removed from the queue. If the message is not retained it persists 1 reference on the queue and every time my client reconnect to the broker it will receive always the same message. If the message is retained is even worse, because it goes to increment the references on the queue and every time the client connects to the broker it will receive n + 1 times the same retained message where n is the re-connection number n. Following a simple test I made by using mosquitto client: CLIENT 1 (publisher): mosquitto_pub -h -q 1 -i -t /cro/plantid/0000000/gwid/00001/device_state -m "test non retained" CLIENT 2 (subscriber): 1 connection: mosquitto_sub -h -q 2 -i -t /cro/plantid/0000000/gwid/00001/device_state --> received: *test non retained* 2 connection: mosquitto_sub -h -q 2 -i -t /cro/plantid/0000000/gwid/00001/device_state --> received again: *test non retained* 3 connection: mosquitto_sub -h -q 2 -i -t /cro/plantid/0000000/gwid/00001/device_state --> received again: *test non retained* ... and so on CLIENT 1 (publisher): mosquitto_pub -h -q 1 -i -r -t /cro/plantid/0000000/gwid/00001/device_state -m "test retained" CLIENT 2 (subscriber): 4 connection: mosquitto_sub -h -q 2 -i -t /cro/plantid/0000000/gwid/00001/device_state --> received: *test retained test non retained test retained* 5 connection: mosquitto_sub -h -q 2 -i -t /cro/plantid/0000000/gwid/00001/device_state --> received: *test retained test non retained test retained test retained* 6 connection: mosquitto_sub -h -q 2 -i -t /cro/plantid/0000000/gwid/00001/device_state --> received: *test non retained test retained test retained test retained test retained* ... and so on. If you agree, I would open a bug for this. Francesco -- View this message in context: http://activemq.2283324.n4.nabble.com/ARTEMIS-bad-performance-behaviour-after-7-10-days-of-usage-tp4721272p4721562.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.