Return-Path: Delivered-To: apmail-qpid-users-archive@www.apache.org Received: (qmail 6292 invoked from network); 15 Feb 2011 15:32:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Feb 2011 15:32:25 -0000 Received: (qmail 41108 invoked by uid 500); 15 Feb 2011 15:32:25 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 40786 invoked by uid 500); 15 Feb 2011 15:32:22 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 40693 invoked by uid 99); 15 Feb 2011 15:32:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 15:32:20 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kim.vdriet@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 15:32:12 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p1FFVoc9017891 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 15 Feb 2011 10:31:50 -0500 Received: from [10.16.16.49] (busy-beaver.bos.redhat.com [10.16.16.49]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p1FFVnlN027661; Tue, 15 Feb 2011 10:31:50 -0500 Subject: Re: Journal with LVQ From: Kim van der Riet To: users@qpid.apache.org Cc: Gordon Sim In-Reply-To: <4D5A88D8.5090405@redhat.com> References: <1294763431.2999.12.camel@helios.office.paradigmaxis.pt> <4D2DE5F5.6070309@redhat.com> <7D07F71F-388C-4D8E-B3BB-DA08AD6AE16F@paradigmaxis.pt> <4D36F961.9090108@redhat.com> <4D5A6B32.6020400@redhat.com> <4D5A88D8.5090405@redhat.com> Content-Type: text/plain; charset="UTF-8" Organization: Red Hat Date: Tue, 15 Feb 2011 10:31:49 -0500 Message-ID: <1297783909.2190.41.camel@busy-beaver.bos.redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Virus-Checked: Checked by ClamAV on apache.org On Tue, 2011-02-15 at 09:08 -0500, Alan Conway wrote: > >> I was asking if there is a way to know the used size of the journal > in a > >> given time. When I run my publisher for the first time, and in > qpid-stat > >> the queue size 2m in bytes, how can I know the effectively used > journal? > > > > The calculation is quite complex and there tend to be lots of > variables (exact > > timings of dequeues v. enqueues, relative messages sizes etc). in > practical > > terms I have not found a way to accurately estimate the journal size > required > > and so always greatly inflate it. It is an area I think we need to > make simpler > > in some way. > > > > Perhaps it would be useful to add some management instrumentation to > the > journals, so it is at least easy to see how much space is actually > used when you > run a test (or indeed in production so you can see if you're getting > close to > the limit) > This has been discussed. It is likely that a QMF function call would be added which would calculate the amount of space left in the store when it is called. However, to do this continually (it through instrumentation) would likely be expensive and could slow the store down significantly. That said, we want to make this accessible and are looking for smart ways to do it. --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscribe@qpid.apache.org