Article View: news.software.nntp
Article #49777Re: Inn 2.3 Slow expire
From: David Swanger
Date: Wed, 10 Jan 2001 15:35
Date: Wed, 10 Jan 2001 15:35
61 lines
3565 bytes
3565 bytes
Russ Allbery (rra@stanford.edu) wrote:
: Bill Davidsen <davidsen@tmr.com> writes:
: > swangdb@mail.auburn.edu wrote:
: >> Expire seems to take a long time. It often doesn't finish until
: >> well after noon. Our previous usenet server (single processor
I discovered that some of the expires had failed and there were
many old "lost" tradspool articles. I erased many of them with
the command:
find path -atime +14 -exec /bin/rm {} \;
The next day's expire was a little faster.
Then I changed several of the hierarchies from tradspool to cnfs
(comp.*,rec.*,soc.*,sci.*,misc.*,talk.*,talk.*,humanities.*,
alt.*,it.*,uk.*,fr.*,de.*,dk.*,tw.*,sfnet.*,es.*,aus.*,pl.*,nl.*,
plus I already had alt.binaries.*,*.jobs.* and control.cancel
stored in cnfs buffers) and this has sped up the expire. Every
day there are fewer and fewer tradspool files left for these
hierarchies. By next week most of them should be gone and then
I'll see how fast expire is for the remaining tradspool hierarchies.
There are still a few large tradspool hierarchies (microsoft.*
and relcom.*), I might convert them too.
Tradspool hierarchies seem easier to control than cnfs, you
can set exact number of days to retain articles, you can easily
look at specific articles and so on, but cnfs is really fast plus
some unexpectedly busy newsgroups can't fill your spool disk. Plus
you can create separate buffers for different new groups that you
want to retain longer (or not as long).
: > I haven't mixed tradspool and CNFS, but are you using delayed removal of
: > the articles? If you don't your expire will run very slow. With 300GB
: > and a slow machine, expire used to run about 3-5 minutes, after which
: > the actual article removal would run for a long time.
: It's slow even delayed up until now. Try upgrading to the latest CURRENT
: snapshot; I think I just fixed this.
Hmm, I'm using snapshot inn-STABLE-20001006. So if I wanted
to upgrade, are these the right steps?
- Backup ~news/bin (with tar)
- Download the most recent snapshot in /usr/local/src (or wherever)
- Configure/compile the software
- Stop innd ("/usr/local/news/bin/rc.news stop") and comment out the
news cron jobs
- make upgrade
- uncomment the news cron jobs
- start innd ("/usr/local/news/bin/rc.news")
- Monitor the software. If it works, celebrate. If not,
debug (or reinstall original binaries).
--
David Swanger
Office of Information Technology
Auburn University, AL
swangdb@mail.auburn.edu
Technical Details
Message-ID:
<93hvgm$c67$1@aunews.duc.auburn.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!supernews.google.com!sn-xit-02!supernews.com!216.218.236.179.MISMATCH!news!news.he.net!newsfeed.direct.ca!look.ca!newsfeed.cwix.com!aunews.duc.auburn.edu!peking!swangdbReferences:
<92qu4c$ij6$1@nnrp1.deja.com> <3A572252.D0EFC97D@tmr.com> <ylvgrsai59.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <93hvgm$c67$1@aunews.duc.auburn.edu> Subject: Re: Inn 2.3 Slow expire Date: Wed, 10 Jan 2001 15:35:50 +0000 From: swangdb@mail.auburn.edu (David Swanger) References: <92qu4c$ij6$1@nnrp1.deja.com> <3A572252.D0EFC97D@tmr.com> <ylvgrsai59.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!supernews.google.com!sn-xit-02!supernews.com!216.218.236.179.MISMATCH!news!news.he.net!newsfeed.direct.ca!look.ca!newsfeed.cwix.com!aunews.duc.auburn.edu!peking!swangdb Newsgroups: news.software.nntp Organization: Auburn University Usenet Server Lines: 60 NNTP-Posting-Host: peking.duc.auburn.edu X-Trace: aunews.duc.auburn.edu 979140950 12487 131.204.85.205 (10 Jan 2001 15:35:50 GMT) X-Complaints-To: abuse@auburn.edu NNTP-Posting-Date: Wed, 10 Jan 2001 15:35:50 +0000 (UTC) X-Newsreader: TIN [version 1.2 PL2]