From users-return-25189-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Fri Sep 03 08:32:19 2010 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 43117 invoked from network); 3 Sep 2010 08:32:19 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Sep 2010 08:32:19 -0000 Received: (qmail 12940 invoked by uid 500); 3 Sep 2010 08:32:18 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 12683 invoked by uid 500); 3 Sep 2010 08:32:16 -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 12675 invoked by uid 99); 3 Sep 2010 08:32:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Sep 2010 08:32:15 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gary.tully@gmail.com designates 209.85.216.178 as permitted sender) Received: from [209.85.216.178] (HELO mail-qy0-f178.google.com) (209.85.216.178) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Sep 2010 08:32:11 +0000 Received: by qyk36 with SMTP id 36so2036934qyk.2 for ; Fri, 03 Sep 2010 01:31:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=yvVDQU2pFSpxWuqJxpYmALPcS2vNBDNpXf1IjLlAdKI=; b=ipreXAOPhjbAU2TsoZTWP4GuzCy9hwj45n9r4LTb7ib4d8YXJ9IT9r+BSx7hBfbawB F55S+t2YXcUBYmA70HmMt1m7wMggi6a40E/IvhLlXmmM38MmIq4V3PteqY2Y1l7lVCQD rXOwIJkCG+hDbqOB+Wvi+0yMtG14CIEhjdQRg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=VhDM8uoblQfs6O+Par49C1M/MmBwUgUfLjaU1/ZZ+59b5zO6egab9ACyXSYjeeDhha is0SWg1Xtvdwg3o9JURt3miwk50GTp0v0/dIgD4Sd9EH8dbPCCUd7u+sf1/uWE6eHCxq zYFTjlb1g3vX44zET70FCL7721GGIdg6i84D4= MIME-Version: 1.0 Received: by 10.224.29.14 with SMTP id o14mr878988qac.142.1283502710463; Fri, 03 Sep 2010 01:31:50 -0700 (PDT) Received: by 10.229.249.134 with HTTP; Fri, 3 Sep 2010 01:31:50 -0700 (PDT) In-Reply-To: References: Date: Fri, 3 Sep 2010 09:31:50 +0100 Message-ID: Subject: Re: Add a progress indicator to the file cursor recovery phase From: Gary Tully To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 yea, that makes perfect sense. Think logging every X messages will be easy, getting some sort of "precent complete output" will be a little harder but an approximation should be possible. On 3 September 2010 06:47, Fredrik Jonson wrote: > Hello, > > I saw AMQ-2891 passing by in the mail flood, and it reminded me of a feature > I'd like to see in activemq. I started to comment in the issue, but decided to > post to the dev list instead. https://issues.apache.org/activemq/browse/AMQ-2891 > > This is not a comment on the actual issue, but a possible usability workaround. > > As a administrator of activemq in production environments my experience is that > it is quite unnerving to watch the deep silence of activemq when restarting > after a fatal failure - especially when you have a huge message log of important > data. I know the cursor recovery is busy somewhere during startup but how can I > tell that it has started, is ok, and how much time it will take? > > I think it makes sense to add some sort of progress indicator, as logging > output on the info level, during the recovery phase. Say by logging every 10 000 > message recovered, and if that information is available also the total amount > that needs to be recovered. > > Does that make sense? > > -- > Fredrik Jonson > > -- http://blog.garytully.com Open Source Integration http://fusesource.com