Re: Notmuch success: Xapian database corrupt
authorCarl Worth <cworth@cworth.org>
Thu, 22 Apr 2010 00:17:16 +0000 (17:17 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:45 +0000 (09:36 -0800)
ce/ae29e2d187c41d81953a4870338df02429a222 [new file with mode: 0644]

diff --git a/ce/ae29e2d187c41d81953a4870338df02429a222 b/ce/ae29e2d187c41d81953a4870338df02429a222
new file mode 100644 (file)
index 0000000..c1783b5
--- /dev/null
@@ -0,0 +1,94 @@
+Return-Path: <cworth@cworth.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id E11D14196F2\r
+       for <notmuch@notmuchmail.org>; Wed, 21 Apr 2010 17:17:18 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.89\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5\r
+       tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01]\r
+       autolearn=ham\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id oWPB5aPtI+kb; Wed, 21 Apr 2010 17:17:18 -0700 (PDT)\r
+Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 2572A431FC1;\r
+       Wed, 21 Apr 2010 17:17:18 -0700 (PDT)\r
+Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
+       id 1870A568DE4; Wed, 21 Apr 2010 17:17:17 -0700 (PDT)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: John Fremlin <john@fremlin.org>, notmuch@notmuchmail.org\r
+Subject: Re: Notmuch success: Xapian database corrupt\r
+In-Reply-To: <87r5mchmji.fsf-genuine-vii@john.fremlin.org>\r
+References: <87r5mchmji.fsf-genuine-vii@john.fremlin.org>\r
+Date: Wed, 21 Apr 2010 17:17:16 -0700\r
+Message-ID: <874oj4wdbn.fsf@yoom.home.cworth.org>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 22 Apr 2010 00:17:19 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Sun, 18 Apr 2010 14:18:09 +0000, John Fremlin <john@fremlin.org> wrote:\r
+> terminate called after throwing an instance of 'Xapian::DatabaseCorruptEr=\r
+ror'\r
+> Aborted (core dumped)\r
+>=20\r
+> Is there any way to recover the database? Notmuch search works well and\r
+> it takes absolutely ages (one or two days) to add my mail to it; and I\r
+> would suspect that it might happen again . . . I'm on Ubuntu lucid with\r
+> an Intel SSD.\r
+\r
+Hi John,\r
+\r
+Welcome to notmuch, and I'm so sorry to hear that your initial attempt\r
+to use it was so frustrating.\r
+\r
+I'm not aware of any bugs in notmuch that can result in a corrupt Xapian\r
+database. In fact, this can't be a bug in notmuch alone (since Xapian is\r
+detecting the corruption). There must at least be a bug in Xapian or\r
+else some lower-level failure is occurring (disk full?) that Xapian\r
+can't deal with.\r
+\r
+I've not yet encountered a corrupt Xapian database, so I'm afraid I\r
+don't have any tips to help you with that.\r
+\r
+But I'm also surprised to hear that it takes you days to incorporate\r
+your mail into a notmuch database. I have over 600 thousand messages\r
+myself, and it takes a few hours (maybe 4?) to incorporate all of these\r
+messages, but not days, (also with an Intel SSD).\r
+\r
+So there's some performance problem that you're having in addition to\r
+the database corruption. Hopefully we can figure that out. What kernel\r
+and filesystem are you using? Are you using an encrypted partition?\r
+\r
+=2DCarl\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFLz5WM6JDdNq8qSWgRAqBjAJ97dC1/5MY9VEzypnSkU9mhWGkHQQCbB5YF\r
+S7POX0qAPocikVoSuhOZ5tI=\r
+=4PiY\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r