From: Florian Weimer <fw@deneb.enyo.de>
To: ding@gnus.org
Subject: Re: Apparent quadratic behavior during mail fetching
Date: Mon, 18 Mar 2019 15:34:18 +0100 [thread overview]
Message-ID: <87r2b4uu8l.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: <874lybizkj.fsf@mid.deneb.enyo.de> (Florian Weimer's message of "Wed, 29 Mar 2017 22:43:24 +0200")
* Florian Weimer:
> With Debian stretch's Enmcs 25.1.1, Gnus 5.13, I see what seems to be
> quadratic behavior when processing incoming mail.
>
> My mail-sources setting in ~/.gnus looks like this:
>
> (setq mail-sources
> `((directory :path ,(expand-file-name "~/Mail/INCOMING")
> :suffix "")))
>
> I see many, many stat system calls for the files in that directory.
> It looks like the entire directory is reprocessed for each file
> contained in it.
>
> I use
>
> (setq gnus-secondary-select-methods '((nnml "")))
>
> as the mail storage backend.
>
> Does this ring a bell? If not, I'll try to find the root cause.
It turns out that this:
(setq nnmail-scan-directory-mail-source-once t)
fixes it (in Emacs 26.1 at least).
next prev parent reply other threads:[~2019-03-18 14:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-29 20:43 Florian Weimer
2019-03-18 14:34 ` Florian Weimer [this message]
2019-06-22 10:44 ` Lars Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r2b4uu8l.fsf@mid.deneb.enyo.de \
--to=fw@deneb.enyo.de \
--cc=ding@gnus.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.
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 NNTP newsgroup(s).