Article View: news.software.nntp
Article #15253Re: expire takes FOREVER!
From: James Brister
Date: Sat, 22 Feb 1997 00:00
Date: Sat, 22 Feb 1997 00:00
33 lines
2017 bytes
2017 bytes
JYoungman@vggas.com (James Youngman) writes: > > In article <5eiaov$4pt@nntp.idsonline.com>, jfking@idsonline.com says... > > > >Anyone have an idea why expire sometimes takes 7 or 8 hours to run and > >other times it takes only 3 or 4? When it takes longer it doesn't > >appear to be expiring many more articles that it does when it takes > >less time. > > The list of articles to be deleted must be sorted for reasonable performance. > Make sure that the partition that sort(1) uses for temporary files has > easily enough capacity to accept a whole history database. If this is not the > case, you may end up with an unsorted list, which will take ages (especially > with expireover). > > I solved this by moving the sort from /tmp to /var/tmp using the -T option to > GNU sort(1) and changing news.daily. Also, if it's really expire itself that is taking a long time, then try adding 'expdir=/var/tmp' where /var/tmp is a directory with lots of space (enough for a new history file and it's two dbz files) and is on a different spindle than the current history file. I've sometimes seen expire time (*not* news.daily time) drop from hours to 10-20 minutes when expdir= is used. James -- James Brister brister@vix.com Internet Software Consortium http://www.isc.org/isc inn@isc.org
Technical Details
Message-ID:
<yy3ybcged09.fsf@velo.pp.vix.com>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:
<5eiaov$4pt@nntp.idsonline.com> <5ekab5$ccg@halon.vggas.com>Show Full Headers
Complete Article Headers
Message-ID: <yy3ybcged09.fsf@velo.pp.vix.com> Subject: Re: expire takes FOREVER! Date: Sat, 22 Feb 1997 00:00:00 +0000 From: James Brister <brister@vix.com> References: <5eiaov$4pt@nntp.idsonline.com> <5ekab5$ccg@halon.vggas.com> 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: 220727822 Distribution: inet Cc: JYoungman@vggas.com, jfking@idsonline.com Organization: Internet Software Consortium Newsgroups: news.software.nntp