Gnus development mailing list
 help / color / mirror / Atom feed
From: Dale Hagglund <rdh@yottayotta.com>
Subject: slow expiry: only 600 articles in group but gnus thinks there are 5000
Date: Thu, 03 Apr 2003 01:38:38 -0700	[thread overview]
Message-ID: <86n0j86kmp.fsf@ponoka.ed.shawcable.net> (raw)

I use gnus and nnml at work to read mail, and over a few years my
primary unfiltered folder (mail.misc) accumulated about 1900 ticked
messages in it.  It finally became too excruciatingly slow to expire,
so I moved a bunch of the articles to archive groups.  

mail.misc was still very slow to expire, and gnus still thought there
were ~5000 articles in it.  So, I marked all the articles with # and
used `B m' to move them all to mail.misc just to make all the article
numbers sequential.  This worked, but expiry is still very slow, and
gnus still says there are ~5000 articles when I type `C-u SPC' to
enter the group.

I've checked the .overview files and the directory listing in the
~/News/mail.misc directory, and the number of articles is really
around 600.  Also, I ran strace while gnus was exiting this group, and
for almost all that time, no file operations were being performed.
Eventually, a bunch of stat() calls were made for articles that don't
exist in mail.misc as well as for the 600 articles that do, but this
step only takes a couple of seconds.

It looks to me like there's some sort of quadratic algorithm going on,
and it's being run for the 5000 articles that gnus thinks are there,
rather than the 600 that are actually there.

Any ideas of what to look for?  I'm running ognus 0.07 on gnu emacs
21.

Dale.




             reply	other threads:[~2003-04-03  8:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-03  8:38 Dale Hagglund [this message]
2003-04-12 21:14 ` Lars Magne 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=86n0j86kmp.fsf@ponoka.ed.shawcable.net \
    --to=rdh@yottayotta.com \
    /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).