Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 272284196F2 for ; Thu, 22 Apr 2010 00:19:04 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.5 X-Spam-Level: X-Spam-Status: No, score=-0.5 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1KTWJBizYpuM for ; Thu, 22 Apr 2010 00:19:02 -0700 (PDT) Received: from mtaout03-winn.ispmail.ntl.com (mtaout03-winn.ispmail.ntl.com [81.103.221.49]) by olra.theworths.org (Postfix) with ESMTP id 36705431FC1 for ; Thu, 22 Apr 2010 00:19:02 -0700 (PDT) Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20100422071857.FSWV5841.mtaout03-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com>; Thu, 22 Apr 2010 08:18:57 +0100 Received: from eurus ([82.31.204.194]) by aamtaout03-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20100422071856.VKLB1008.aamtaout03-winn.ispmail.ntl.com@eurus>; Thu, 22 Apr 2010 08:18:56 +0100 Received: by eurus (Postfix, from userid 1000) id B2544BF6618; Thu, 22 Apr 2010 08:18:54 +0100 (BST) From: John Fremlin To: notmuch@notmuchmail.org Subject: Re: Notmuch success: Xapian database corrupt References: <87r5mchmji.fsf-genuine-vii@john.fremlin.org> <874oj4wdbn.fsf@yoom.home.cworth.org> X-Home-Page: http://john.fremlin.org Date: Thu, 22 Apr 2010 07:19:58 +0000 In-Reply-To: <874oj4wdbn.fsf@yoom.home.cworth.org> (Carl Worth's message of "Wed, 21 Apr 2010 17:17:16 -0700") Message-ID: <87sk6oc5sx.fsf-genuine-vii@john.fremlin.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Cloudmark-Analysis: v=1.1 cv=1ggfb5FlKZQUfF3vzm9UBYZ2uTfLsbs/8dSljwg5+mE= c=1 sm=0 a=Fh1FS8teFoAA:10 a=Djc7QQBkJqwA:10 a=kj9zAlcOel0A:10 a=bz-zy3QpAAAA:8 a=B5zFYKMbJykDiSlqc4IA:9 a=3LK77mJdN1YwUbzsKOEA:7 a=RgiNf_CXBsyXKE2zkuth6i9nFqgA:4 a=CjuIK1q_8ugA:10 a=pIMJlJgVeHwA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2010 07:19:04 -0000 After the encouraging message from Sebastian. I deleted the .notmuch/xapian dir and started again. It went off a good rate (300+ files/sec) and here was the final score Processed 494764 total files in 2h 54m 41s (47 files/sec.). Added 226817 new messages to the database. This is much faster than before. As I haven't changed the storage or the filesystem (ext4,data=ordered over encrypted aes-xts-plain), I just don't know what made the difference. My kernel is now 2.6.32-21-generic #32-Ubuntu and I had an older one the first try a month or so ago. Carl Worth writes: [...] > Welcome to notmuch, and I'm so sorry to hear that your initial attempt > to use it was so frustrating. Thanks for the welcome! I was initially impressed by it but rather worried about relying on it after the database corruption. > I'm not aware of any bugs in notmuch that can result in a corrupt Xapian > database. In fact, this can't be a bug in notmuch alone (since Xapian is > detecting the corruption). There must at least be a bug in Xapian or > else some lower-level failure is occurring (disk full?) that Xapian > can't deal with. Disk full is quite likely. I'll try to avoid that in future. [...] > So there's some performance problem that you're having in addition to > the database corruption. Hopefully we can figure that out. What kernel > and filesystem are you using? Are you using an encrypted partition? Happy to say (though frustrating for you), this time it's much faster. Maybe because I had more disk free this time round so the Xapian database became less fragmented? (Speculation, no evidence.)