unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Working with Maildir storage?
@ 2009-11-17 19:00 Lars Kellogg-Stedman
  2009-11-17 19:02 ` Mikhail Gusarov
  2009-11-18 10:08 ` Carl Worth
  0 siblings, 2 replies; 7+ messages in thread
From: Lars Kellogg-Stedman @ 2009-11-17 19:00 UTC (permalink / raw)
  To: notmuch

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

I saw the LWN article and decided to take a look at notmuch.  I'm
currently using mutt and mairix to index and read a collection of
Maildir mail folders (around 40,000 messages total).

notmuch indexed the messages without complaint, but my attempt at
searching bombed out. Running, for example:

  notmuch search storage

Resulted in 4604 lines of errors along the lines of:

  Error opening
  /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:
  Too many open files

I'm curious if this is expected behavior (i.e., notmuch does not work
with Maildir) or if something else is going on.

Cheers,

-- 
Lars Kellogg-Stedman <lars@seas.harvard.edu>
Senior Technologist, Computing and Information Technology
Harvard University School of Engineering and Applied Sciences


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Working with Maildir storage?
  2009-11-17 19:00 Working with Maildir storage? Lars Kellogg-Stedman
@ 2009-11-17 19:02 ` Mikhail Gusarov
  2009-11-17 20:33   ` Lars Kellogg-Stedman
  2009-11-18 10:08 ` Carl Worth
  1 sibling, 1 reply; 7+ messages in thread
From: Mikhail Gusarov @ 2009-11-17 19:02 UTC (permalink / raw)
  To: notmuch

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


Twas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did gyre and gimble:

 LK> Resulted in 4604 lines of errors along the lines of:

 LK>   Error opening
 LK>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:
 LK>   Too many open files

See the patch just posted here.

-- 
  http://fossarchy.blogspot.com/

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Working with Maildir storage?
  2009-11-17 19:02 ` Mikhail Gusarov
@ 2009-11-17 20:33   ` Lars Kellogg-Stedman
  2009-11-17 20:50     ` Mikhail Gusarov
  2009-11-17 21:24     ` Keith Packard
  0 siblings, 2 replies; 7+ messages in thread
From: Lars Kellogg-Stedman @ 2009-11-17 20:33 UTC (permalink / raw)
  To: Mikhail Gusarov; +Cc: notmuch

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

> See the patch just posted here.

Is the list archived anywhere?  The obvious archives
(http://notmuchmail.org/pipermail/notmuch/) aren't available, and I
think I subscribed too late to get the patch (I only just saw the
discussion about it).

It doesn't look like the patch is in git yet.

-- Lars

-- 
Lars Kellogg-Stedman <lars@seas.harvard.edu>
Senior Technologist, Computing and Information Technology
Harvard University School of Engineering and Applied Sciences


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Working with Maildir storage?
  2009-11-17 20:33   ` Lars Kellogg-Stedman
@ 2009-11-17 20:50     ` Mikhail Gusarov
  2009-11-17 21:24     ` Keith Packard
  1 sibling, 0 replies; 7+ messages in thread
From: Mikhail Gusarov @ 2009-11-17 20:50 UTC (permalink / raw)
  To: notmuch

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


Twas brillig at 15:33:01 17.11.2009 UTC-05 when lars@seas.harvard.edu did gyre and gimble:

 LK> Is the list archived anywhere?  The obvious archives
 LK> (http://notmuchmail.org/pipermail/notmuch/) aren't available, and I
 LK> think I subscribed too late to get the patch (I only just saw the
 LK> discussion about it).

 LK> It doesn't look like the patch is in git yet.

Just has been pushed

-- 
  http://fossarchy.blogspot.com/

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Working with Maildir storage?
  2009-11-17 20:33   ` Lars Kellogg-Stedman
  2009-11-17 20:50     ` Mikhail Gusarov
@ 2009-11-17 21:24     ` Keith Packard
  2009-11-18  0:50       ` Lars Kellogg-Stedman
  1 sibling, 1 reply; 7+ messages in thread
From: Keith Packard @ 2009-11-17 21:24 UTC (permalink / raw)
  To: Lars Kellogg-Stedman, Mikhail Gusarov; +Cc: notmuch

On Tue, 17 Nov 2009 15:33:01 -0500, Lars Kellogg-Stedman <lars@seas.harvard.edu> wrote:
> > See the patch just posted here.

I've also pushed a slightly more complicated (and complete) fix to my
private notmuch repository

git://keithp.com/git/notmuch

> Is the list archived anywhere?

Oops. Looks like Carl's mail server is broken. He's traveling to
Barcelona today and so it won't get fixed for a while.

Thanks to everyone for trying out notmuch!

-keith

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Working with Maildir storage?
  2009-11-17 21:24     ` Keith Packard
@ 2009-11-18  0:50       ` Lars Kellogg-Stedman
  0 siblings, 0 replies; 7+ messages in thread
From: Lars Kellogg-Stedman @ 2009-11-18  0:50 UTC (permalink / raw)
  To: Keith Packard; +Cc: notmuch

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

> I've also pushed a slightly more complicated (and complete) fix to my
> private notmuch repository

The version of lib/messages.cc in your repo doesn't build because it's
missing "#include <stdint.h>" (for the uint32_t on line 466).

-- 
Lars Kellogg-Stedman <lars@seas.harvard.edu>
Senior Technologist, Computing and Information Technology
Harvard University School of Engineering and Applied Sciences


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Working with Maildir storage?
  2009-11-17 19:00 Working with Maildir storage? Lars Kellogg-Stedman
  2009-11-17 19:02 ` Mikhail Gusarov
@ 2009-11-18 10:08 ` Carl Worth
  1 sibling, 0 replies; 7+ messages in thread
From: Carl Worth @ 2009-11-18 10:08 UTC (permalink / raw)
  To: Lars Kellogg-Stedman, notmuch

On Tue, 17 Nov 2009 14:00:54 -0500, Lars Kellogg-Stedman <lars@seas.harvard.edu> wrote:
> I saw the LWN article and decided to take a look at notmuch.  I'm
> currently using mutt and mairix to index and read a collection of
> Maildir mail folders (around 40,000 messages total).

Welcome, Lars!

I hadn't even seen that Keith's blog post had been picked up by lwn.net.
That's very interesting. So, thanks for coming and trying out notmuch.

>   Error opening
>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:
>   Too many open files

Sadly, the lwn article coincided with me having just introduced this
bug, and then getting on a Trans-Atlantic flight. So I fixed the bug
fairly quickly, but there was quite a bit of latency before I could push
the fix out. It should be fixed now.

> I'm curious if this is expected behavior (i.e., notmuch does not work
> with Maildir) or if something else is going on.

Notmuch works just fine with maildir---it's one of the things that it
likes the best.

Happy hacking,

-Carl

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-11-18 10:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-17 19:00 Working with Maildir storage? Lars Kellogg-Stedman
2009-11-17 19:02 ` Mikhail Gusarov
2009-11-17 20:33   ` Lars Kellogg-Stedman
2009-11-17 20:50     ` Mikhail Gusarov
2009-11-17 21:24     ` Keith Packard
2009-11-18  0:50       ` Lars Kellogg-Stedman
2009-11-18 10:08 ` Carl Worth

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).