unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Carl Worth <cworth@cworth.org>
To: John Fremlin <john@fremlin.org>, notmuch@notmuchmail.org
Subject: Re: Notmuch success: Xapian database corrupt
Date: Wed, 21 Apr 2010 17:17:16 -0700	[thread overview]
Message-ID: <874oj4wdbn.fsf@yoom.home.cworth.org> (raw)
In-Reply-To: <87r5mchmji.fsf-genuine-vii@john.fremlin.org>

[-- Attachment #1: Type: text/plain, Size: 1455 bytes --]

On Sun, 18 Apr 2010 14:18:09 +0000, John Fremlin <john@fremlin.org> wrote:
> terminate called after throwing an instance of 'Xapian::DatabaseCorruptError'
> Aborted (core dumped)
> 
> 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?

-Carl

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2010-04-22  0:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-18 14:18 Notmuch success: Xapian database corrupt John Fremlin
2010-04-19  6:40 ` Sebastian Spaeth
2010-04-22  0:17 ` Carl Worth [this message]
2010-04-22  2:37   ` Ben Gamari
2010-04-22  7:19   ` John Fremlin
2010-04-23 19:04     ` Carl Worth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874oj4wdbn.fsf@yoom.home.cworth.org \
    --to=cworth@cworth.org \
    --cc=john@fremlin.org \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).