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 E11D14196F2 for ; Wed, 21 Apr 2010 17:17:18 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.89 X-Spam-Level: X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01] 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 oWPB5aPtI+kb; Wed, 21 Apr 2010 17:17:18 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 2572A431FC1; Wed, 21 Apr 2010 17:17:18 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 1870A568DE4; Wed, 21 Apr 2010 17:17:17 -0700 (PDT) From: Carl Worth To: John Fremlin , notmuch@notmuchmail.org Subject: Re: Notmuch success: Xapian database corrupt In-Reply-To: <87r5mchmji.fsf-genuine-vii@john.fremlin.org> References: <87r5mchmji.fsf-genuine-vii@john.fremlin.org> Date: Wed, 21 Apr 2010 17:17:16 -0700 Message-ID: <874oj4wdbn.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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 00:17:19 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Sun, 18 Apr 2010 14:18:09 +0000, John Fremlin wrote: > terminate called after throwing an instance of 'Xapian::DatabaseCorruptEr= ror' > Aborted (core dumped) >=20 > Is there any way to recover the database? Notmuch search works well and > it takes absolutely ages (one or two days) to add my mail to it; and I > would suspect that it might happen again . . . I'm on Ubuntu lucid with > an Intel SSD. Hi John, Welcome to notmuch, and I'm so sorry to hear that your initial attempt to use it was so frustrating. 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. I've not yet encountered a corrupt Xapian database, so I'm afraid I don't have any tips to help you with that. But I'm also surprised to hear that it takes you days to incorporate your mail into a notmuch database. I have over 600 thousand messages myself, and it takes a few hours (maybe 4?) to incorporate all of these messages, but not days, (also with an Intel SSD). 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? =2DCarl --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFLz5WM6JDdNq8qSWgRAqBjAJ97dC1/5MY9VEzypnSkU9mhWGkHQQCbB5YF S7POX0qAPocikVoSuhOZ5tI= =4PiY -----END PGP SIGNATURE----- --=-=-=--