Article View: news.software.nntp
Article #36561Re: expire question.
From: Kai Henningsen
Date: Wed, 14 Apr 1999 00:00
Date: Wed, 14 Apr 1999 00:00
38 lines
2068 bytes
2068 bytes
rra@stanford.edu (Russ Allbery) wrote on 13.04.99 in <ylyajw892e.fsf@windlord.stanford.edu>: > William Schwartz <schwartzw@usa.net> writes: > cd /path/to/spool/control && mv cancel cancel.old && rm -rf cancel.old > > > Perhaps i'm doing somethign wrong there to make expire so slow? > > Not sure; I've never had it take more than an hour or so, but I don't have > that large of a spool right now. How big of a news spool are you > expiring? *Most* UN*X filesystems have absolutely dreadful performance with big directories. That's an area where OS/2 or MacOS do much better. Typically, UN*X filesystems (or DOS FAT) do O(n) whereas OS/2 or MacOS do O(log(n)) for directory lookups. I've seen updatedb (for the locate database) spend nearly an hour on control/cancel before I told it not to bother with the news spool, *and* started to wipe it out from cron. Here's a way to check your machine for file system traps: find / -type d -size 100k (or whatever size you want to look for). Old machines will need to add -print at the end. Investigate *all* the directories this finds. Kai -- http://www.westfalen.de/private/khms/ "... by God I *KNOW* what this network is for, and you can't have it." - Russ Allbery (rra@stanford.edu)
Technical Details
Message-ID:
<7EpdNM0Hw-B@khms.westfalen.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<fapve7.kn1.ln@vikes.dynip.com> <ylyajw892e.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <7EpdNM0Hw-B@khms.westfalen.de> Subject: Re: expire question. Date: Wed, 14 Apr 1999 00:00:00 +0000 From: kaih=7EpdNM0Hw-B@khms.westfalen.de (Kai Henningsen) References: <fapve7.kn1.ln@vikes.dynip.com> <ylyajw892e.fsf@windlord.stanford.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 466441242 X-Fix-Your-Modem: +++ATS2=255&WO1 Comment: Unsolicited commercial mail will incur an US$100 handling fee per received mail. Organization: Organisation? Me?! Are you kidding? X-No-Junk-Mail: I do not want to get *any* junk mail. Newsgroups: news.software.nntp