search for: notmuch

Displaying 20 results from an estimated 71 matches for "notmuch".

2018 Apr 07
3
Database corruption after clean rebuild
Javier Garcia <javiertury at gmail.com> writes: > I've applied the path to notmuch 0.26.1 without success. > > $ rm -rf ~/.mail/.notmuch > $ LD_LIBRARY_PATH=/hidden-path/notmuch-0.26.1/lib/:$LD_LIBRARY_PATH > ./notmuch new >    Found 20065 total files (that's not much mail). >    Processed 20065 total files in 58s (341 files/sec.). >    Added 19605 new me...
2018 Apr 29
1
Database corruption after clean rebuild
Hi notmuch developers, I also had this database corruption, I waited for the fix to land in notmuch 0.26.2, build it, moved the xapian directory away, did a notmuch new and restored the tags from a dump. But the problem remains: ~$ xapian-check ~/Mail/.notmuch/xapian docdata: blocksize=8K items=10841 first...
2017 Dec 29
2
notmuch: Xapian exception during database creation
Running notmuch from git on Debian testing[1] with the mail and database sitting on a ZFS filesystem, adding mail to a new database: > agrajag-testing ~/s/notmuch % ./notmuch new > Found 605510 total files (that's not much mail). > add_file: A Xapian exception occurred36m 37s remaining). > A Xapia...
2019 Jul 09
2
Transitioning notmuch/Xapian from 32-bit to 64-bit system
Hi! Suppose you have a huge notmuch/Xapian database, built on a 32-bit system (well, actually on x86_64-pc-linux-gnu, but using a years old 32-bit notmuch binary; notmuch 0.9, Xapian 1.2.21 -- don't laugh), and suppose you're finally going to update that years old notmuch installation (release by release, forward-porting a bu...
2018 Sep 10
3
Notmuch DB Problems
Mueen Nawaz <mueen at nawaz.org> writes: > After a lot of poking around, I figured out the problem, and this may be > of interest to the developers (although not sure if it is a xapian issue > or a notmuch issue). > > Here's why it would freeze: > > I have a post-new hook that runs a Python script. Depending on whether > the new email it is processing matches a rule I have, it will fire off > an email to the sender using the SMTP library in Python. > > I had recently upgra...
2020 Apr 07
2
crash after running notmuch new
...=8K items=2598971 firstunused=61412 revision=421 levels=2 root=49814 > xapian-check: DatabaseCorruptError: Db block overwritten - are there > multiple writers? > === > suggests there is an error but I couldn't find a fix for it. Should I > just remove the xapian folder and rerun `notmuch new` ? If you have a backup of your tags from notmuch-dump, then yes that's probably a good way forward. I've put the xapian developers in copy in case they are interested in trying to debug this corruption. For those just joining us, this is notmuch 0.29.3 linked against xapian 1.4.15...
2016 Apr 07
2
slowdown in notmuch perf suite with xapian 1.3.5
I hadn't noticed any interactive slowdown, but when I got around to running the notmuch performance suite, there seems to be some noticable slowdown with the glass backend (default in Xapian 1.3.5) compared to chert (using xapian 1.2.22) These tests are on an older i7 with 12G of RAM and an SSD. I'm reasonable confident they are CPU bound. One curious thing is the increase in sys...
2020 Apr 24
1
performance problems with notmuch new
...; wrote: > First question: what version of Xapian are you using? On my laptop it's 1.4.15 (arch linux) and the desktop runs 1.4.14 (Gentoo linux) > And second thing to check, are you committing each message separately? No, I sync with mbsync which dosnloads a bunch of mails, then I run notmuch new which indexes all in one go. > After reboot the disk cache won't have any of the database in, so the > first operation will typically be slower, especially with a spinning > drive where seeks are relatively slow. Yes, I know that, I just wanted to mention the number, which IMO is...
2020 Apr 20
4
performance problems with notmuch new
Franz Fellner <alpine.art.de at gmail.com> writes: > I also suffer from bad performance of notmuch new. I used notmuch > some years ago and notmuch new always felt instantanious. Had to stop > using it because internet was too slow to sync my mails :/ Now (with > better internet and a completely new setup using mbsync) indexing one > mail takes at least 10 seconds, sometimes even m...
2018 Sep 10
1
Notmuch DB Problems
...ls via Emacs, but when I tried to send >> them via Python, Postfix would log an error and it would not >> send. The Python statement would freeze (I guess Postfix >> doesn't return an appropriate response? Not sure why). >> >> I have a cron job to run "notmuch new" 3 times an hour. Since >> the hook was frozen, so was the notmuch new command. I had >> quite a lot of "notmuch new" processes. I assume this meant the >> DB was locked all this time for writing. > > notmuch unlocks the database before running the ho...
2018 Apr 07
1
Database corruption after clean rebuild
...the error are in the range of 1000-5000 mails, so asking each and everyone of them is out of my reach. I tried to replicate the problem using just spam folders without success. The following is a solid workaround I've stumbled upon. Afew no longer complains and database corruption is gone. $ notmuch compact $ xapian-check ~/.mail/.notmuch/xapian    <check messages>    No errors found I built xapian-core 1.50 but I can't compile notmuch 0.26.1 against it. I will wait and test again in a few weeks. If you are interested in my setup, the error happens with this minimal configuration....
2017 Dec 29
0
notmuch: Xapian exception during database creation
On Fri, Dec 29, 2017 at 03:00:47PM +0000, David Edmondson wrote: > Running notmuch from git on Debian testing[1] with the mail and database > sitting on a ZFS filesystem, adding mail to a new database: > > > agrajag-testing ~/s/notmuch % ./notmuch new > > Found 605510 total files (that's not much mail). > > add_file: A Xapian exception occurred36m 37s...
2018 Sep 29
2
xapian parser bug?
Today we noticed that keywords can't be searched as prefixed terms. Or that's what it looks like anyway. I tested and, or, and not. ╰─% NOTMUCH_DEBUG_QUERY=y notmuch search 'subject:"and"' Query string is: subject:"and" notmuch search: A Xapian exception occurred A Xapian exception occurred parsing query: Syntax: <expression> AND <expression> Query string was: subject:"and" ╰─% NOTMUCH_DEB...
2020 Apr 22
0
performance problems with notmuch new
On Mon, Apr 20, 2020 at 11:36:36AM -0300, David Bremner wrote: > Franz Fellner <alpine.art.de at gmail.com> writes: > > > I also suffer from bad performance of notmuch new. I used notmuch > > some years ago and notmuch new always felt instantanious. Had to stop > > using it because internet was too slow to sync my mails :/ Now (with > > better internet and a completely new setup using mbsync) indexing one > > mail takes at least 10 secon...
2023 Jul 04
1
Internal error: Message without type term
On Mon, Jul 03, 2023 at 02:26:03PM +0200, David Bremner wrote: > "Peter P." <peterparker at fastmail.com> writes: > > > I ran xapian-check on ~/.notmuch/xapian and include its messages > > below at the end of this mail. Everyone please forgive me for > > pasting 1121 there. :) > > H'mm. It doesn't look familiar to me, but I will check with xapian > experts to see if the failure mode is known/fixable. I'd guess prob...
2017 Dec 31
1
notmuch: Xapian exception during database creation
On Friday, 2017-12-29 at 22:23:01 UTC, Olly Betts wrote: >> After the failure the database appears to be okay: >> >> > agrajag-testing ~/s/notmuch % xapian-check ~/Maildir/.notmuch/xapian >> > ... >> > position table structure checked OK > > This seems to be for an almost empty database (2 items in the postlist > table and nothing anywhere else) which doesn't really seem consistent > with the amount of data n...
2020 Apr 07
0
crash after running notmuch new
...used=61412 revision=421 levels=2 root=49814 > > xapian-check: DatabaseCorruptError: Db block overwritten - are there > > multiple writers? > > === > > suggests there is an error but I couldn't find a fix for it. Should I > > just remove the xapian folder and rerun `notmuch new` ? > > If you have a backup of your tags from notmuch-dump, then yes that's > probably a good way forward. If you don't have a current dump, you may be able to rescue a dump of tags from a broken notmuch database using: https://git.xapian.org/?p=xapian;a=blob;f=README.notmuc...
2020 Apr 24
0
performance problems with notmuch new
Franz Fellner <alpine.art.de at gmail.com> writes: > > On Thu Apr 23 00:21:30 2020, Olly Betts <olly at survex.com> wrote: >> Then I'd try compacting the database (I think there's a "notmuch >> compact" subcommand to do this). > And there we go. Cured the issues. Dropped the very first indexing > from several minutes to 1.5 seconds on the desktop. ?!?! This is a > really new setup and I suffered from bad performance from the very > first notmuch new after the...
2012 Feb 03
0
Feature request - search and tag protocol - notmuch-alike approach
Hi all, notmuch[1] becomes more and more popular. At least in geek community. But notmuch is local-only (except ssh)... It looks like it's hard (if even possible) to use IMAP as transport for notmuch-alike work flow. I think it would be great to create a new protocol based global search and message tagging....
2014 Jan 04
1
Writing an FTS plugin
Hi, I'm having some trouble writing an FTS plugin that uses notmuch (http://notmuchmail.org/) as the backend. As a proof of concept, I'm adding a hardcoded UID to the search results in the plugin's lookup handler: seq_range_array_add(&result->definite_uids, 1, 42); but this UID is never returned by IMAP SEARCH commands. I know the plugin is bein...