From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/51220 Path: main.gmane.org!not-for-mail From: Dale Hagglund Newsgroups: gmane.emacs.gnus.general Subject: slow expiry: only 600 articles in group but gnus thinks there are 5000 Date: Thu, 03 Apr 2003 01:38:38 -0700 Organization: None to speak of. Sender: owner-ding@hpc.uh.edu Message-ID: <86n0j86kmp.fsf@ponoka.ed.shawcable.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1049359343 28037 80.91.224.249 (3 Apr 2003 08:42:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 3 Apr 2003 08:42:23 +0000 (UTC) Original-X-From: owner-ding@hpc.uh.edu Thu Apr 03 10:42:22 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1910If-0007Hy-00 for ; Thu, 03 Apr 2003 10:42:22 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1910I6-00023D-00; Thu, 03 Apr 2003 02:41:46 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 03 Apr 2003 02:42:51 -0600 (CST) Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id CAA23198 for ; Thu, 3 Apr 2003 02:42:40 -0600 (CST) Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1910HA-0007AT-00 for ; Thu, 03 Apr 2003 10:40:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@hpc.uh.edu Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1910E9-0006wB-00 for ; Thu, 03 Apr 2003 10:37:41 +0200 Original-Lines: 28 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.1 (berkeley-unix) Cancel-Lock: sha1:AL5WiJ0sDx62WiBgMx+pnYuVI4M= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:51220 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:51220 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.