Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 13186 invoked from network); 8 Dec 2010 15:24:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Dec 2010 15:24:47 -0000 Received: (qmail 28246 invoked by uid 500); 8 Dec 2010 15:24:46 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 28180 invoked by uid 500); 8 Dec 2010 15:24:46 -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 28035 invoked by uid 99); 8 Dec 2010 15:24:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Dec 2010 15:24:45 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gary.tully@gmail.com designates 209.85.216.43 as permitted sender) Received: from [209.85.216.43] (HELO mail-qw0-f43.google.com) (209.85.216.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Dec 2010 15:24:37 +0000 Received: by qwk3 with SMTP id 3so1563108qwk.2 for ; Wed, 08 Dec 2010 07:24:16 -0800 (PST) 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 :content-transfer-encoding; bh=nG/34d7iU2eLPeRPxhQkAWSqn1H+RvizycF4sH3ve68=; b=wiBBFT7sxiJTcX6nY4XUvOHHac7oGnXYlGn/X1p/0+SHtV7xMBdSQhZkGXShKiGLtW Cc5sAyZFCwxVogErIxjmObJjoVhXshvOpMQnTELDpW7UIEdNXru0Mx+bYS9YG0Qp1XPy bWSKj3o+ioBic17mZR5Ms3C/Tr4ZgoLM7tCYE= 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:content-transfer-encoding; b=iTnY0R47xDW3oibBjtwOW7oI2Zx5jyV91TB53zWTUmZWcb7Gc2UWQLt+BLlt2ll2KN J+X9n23csNlD17o9Oul2gN4j5z1gC/S8A+WcSDKkeoAr5gq4w9zZw61WxEPyLTanzriK bkEspgEnIYa4plOdZjwSjAnIiKeLiuYweKN0Q= MIME-Version: 1.0 Received: by 10.229.221.17 with SMTP id ia17mr7100145qcb.24.1291821840867; Wed, 08 Dec 2010 07:24:00 -0800 (PST) Received: by 10.229.182.133 with HTTP; Wed, 8 Dec 2010 07:24:00 -0800 (PST) In-Reply-To: References: Date: Wed, 8 Dec 2010 15:24:00 +0000 Message-ID: Subject: Re: KahaDB latch wait warnings From: Gary Tully To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org In the main, it is not important, that should be at debug or trace level logging or removed altogether, it is just an indication of the pagefile sync to disk latency and the amount of concurrent writes that are pending at the time, an remnant of some performance tuning work that was done for 5.4.0. the 100ms limit is arbitrary. Do u mind tracking this with a jira issue as it will probably come up again= . On 8 December 2010 13:54, Aleksandar Ivanisevic wrote: > > > Just switched to kahadb on my amq 5.4.1 (fuse) and the log is filling > with this: > > > 2010-12-08 14:26:12,668 | WARN =A0| KahaDB PageFile flush: 3 queued write= s, latch wait took 119 | org.apache.kahadb.page.PageFile | ActiveMQ Journal= Checkpoint Worker > 2010-12-08 14:28:03,769 | WARN =A0| KahaDB PageFile flush: 7 queued write= s, latch wait took 140 | org.apache.kahadb.page.PageFile | ActiveMQ Journal= Checkpoint Worker > 2010-12-08 14:28:39,125 | WARN =A0| KahaDB PageFile flush: 3 queued write= s, latch wait took 112 | org.apache.kahadb.page.PageFile | ActiveMQ Journal= Checkpoint Worker > 2010-12-08 14:30:04,928 | WARN =A0| KahaDB PageFile flush: 8 queued write= s, latch wait took 109 | org.apache.kahadb.page.PageFile | ActiveMQ Journal= Checkpoint Worker > 2010-12-08 14:30:28,788 | WARN =A0| KahaDB PageFile flush: 8 queued write= s, latch wait took 18839 | org.apache.kahadb.page.PageFile | ActiveMQ Journ= al Checkpoint Worker > > quick code search turns out that this warning is fixed to 100ms > > http://bit.ly/gYH1Zu > > why 100ms and why is this important? > > > --=20 http://blog.garytully.com http://fusesource.com