Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 58170 invoked from network); 8 Dec 2010 13:55:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Dec 2010 13:55:01 -0000 Received: (qmail 57401 invoked by uid 500); 8 Dec 2010 13:55:01 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 57293 invoked by uid 500); 8 Dec 2010 13:55:01 -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 57271 invoked by uid 99); 8 Dec 2010 13:55:00 -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 13:55:00 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gcjau-user-2@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Dec 2010 13:54:52 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PQKTY-00075Q-6Z for users@activemq.apache.org; Wed, 08 Dec 2010 14:54:32 +0100 Received: from mail.2e-systems.com ([217.86.139.180]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Dec 2010 14:54:32 +0100 Received: from aleksandar by mail.2e-systems.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Dec 2010 14:54:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: users@activemq.apache.org From: Aleksandar Ivanisevic Subject: KahaDB latch wait warnings Date: Wed, 08 Dec 2010 14:54:20 +0100 Organization: Individual Lines: 18 Sender: alex@alex.2e-systems.com Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: mail.2e-systems.com Original-Sender: aleksandar@ivanisevic.de X-Face: "4JwcMHVV7.+Q"O&7#~e!/D3&-We*\6>YCmt~!;eHB\Qc$GGC}v}V[BFN]+pX;wqky_vXgj Ag!*"Am:~ffPJV&#cV*0"NeN9I]gaK$eDg`>`!5Ep&J_:/#KPnG3g.u|DV]i7P@l#46^UkNF\#"N%Q s9VP9Clc>qmNO$c(.^"2~nkJ.0LC+F{"sZI@+Ut User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:hNgCTUFHKKTIIsQBEGAmfbInKIw= X-Virus-Checked: Checked by ClamAV on apache.org 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 | KahaDB PageFile flush: 3 queued writes, latch wait took 119 | org.apache.kahadb.page.PageFile | ActiveMQ Journal Checkpoint Worker 2010-12-08 14:28:03,769 | WARN | KahaDB PageFile flush: 7 queued writes, latch wait took 140 | org.apache.kahadb.page.PageFile | ActiveMQ Journal Checkpoint Worker 2010-12-08 14:28:39,125 | WARN | KahaDB PageFile flush: 3 queued writes, latch wait took 112 | org.apache.kahadb.page.PageFile | ActiveMQ Journal Checkpoint Worker 2010-12-08 14:30:04,928 | WARN | KahaDB PageFile flush: 8 queued writes, latch wait took 109 | org.apache.kahadb.page.PageFile | ActiveMQ Journal Checkpoint Worker 2010-12-08 14:30:28,788 | WARN | KahaDB PageFile flush: 8 queued writes, latch wait took 18839 | org.apache.kahadb.page.PageFile | ActiveMQ Journal 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?