Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F22AECB9F for ; Thu, 28 Jun 2012 15:07:38 +0000 (UTC) Received: (qmail 19989 invoked by uid 500); 28 Jun 2012 15:07:38 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 19962 invoked by uid 500); 28 Jun 2012 15:07:38 -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 19951 invoked by uid 99); 28 Jun 2012 15:07:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2012 15:07:38 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gary.tully@gmail.com designates 74.125.82.171 as permitted sender) Received: from [74.125.82.171] (HELO mail-we0-f171.google.com) (74.125.82.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2012 15:07:32 +0000 Received: by wejx9 with SMTP id x9so1722158wej.2 for ; Thu, 28 Jun 2012 08:07:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=hNFdIeFac6c1s6THBBunxiZFv4y7coK6amSGJDM0BVY=; b=wBjXlwFa9BYIiLv8MTo5KaG3cXI0tjbBWawDVHxpD8GfQLLXcYqDp6aeIWL0Zhi5uF zNj0f0Ty9gijq4lz2Vvs9/ey/fsnNKE2zWoPsuYhjUr39xI5yIDASbQFhycbqJ2PLnvC 8o1uAgf20wAm/hQcPmfSLUdFmycg7FIcf3Kh+Z+oL/mT482kudz1izbnNcgDohzOnu82 vVpnEWD06ei3x41dVXyTS5fGQ65j1BMbNeUsJo9CqAWTmwzXUTD4C8T53oRz2HwSDnqb nFyk8jCxxYVCxzrYd9E2o7/ehM+ea+bQlWoELuKFJaiNzZnTAxPeO/ZtV2vGTmcYjcw3 +HWg== MIME-Version: 1.0 Received: by 10.216.198.164 with SMTP id v36mr1429746wen.199.1340896032358; Thu, 28 Jun 2012 08:07:12 -0700 (PDT) Received: by 10.194.34.104 with HTTP; Thu, 28 Jun 2012 08:07:12 -0700 (PDT) In-Reply-To: <1150098585.2450.1340862032840.JavaMail.root@arise.pl> References: <365941169.2364.1340861623673.JavaMail.root@arise.pl> <1150098585.2450.1340862032840.JavaMail.root@arise.pl> Date: Thu, 28 Jun 2012 16:07:12 +0100 Message-ID: Subject: Re: PFC + temp-queue From: Gary Tully To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable answers inline: On 28 June 2012 06:40, Marcin Giedz wrote: > > Hi, > > > I was wondering why with temp-queue and producer flow control set to ON += temp storage we still experience producers stop preventing flooding. Is th= is a bug or a feature? > That is a feature. the cursor gets to consume all of the destination limit and then the destination is considered full. The filepending message cursor will only spool to disk with the systemUsage limit is reached, up until that point it will keep messages in memory like the vmpendingMessage cursor. > > > > > > > > > > > > > > > > .... > > > > > > > > > > > > > > > > > > > If I disable PFC on temp-queue I can see storage utilization once memory = is exhousted but there is no any control over temp-queue. This behavour is = common for 5.5.1 and 5.6.0. Should I file a bug or change my configuration? > With the destination limit removed, the system limit gets a chance to be reached and the file cursor purges to temp storage. It is possible to limit the temp store, and then the destination will block on a send. If key here is to understand that the spooling to disk with the file pending message cursor is controlled by the shared systemUsage and not the destination usage. What behavior would you like to have? > > Thank you > Marcin --=20 http://fusesource.com http://blog.garytully.com