Article View: news.software.nntp
Article #70866Re: News daily takes 8 hours
From: Russ Allbery
Date: Fri, 11 Mar 2005 08:28
Date: Fri, 11 Mar 2005 08:28
51 lines
3605 bytes
3605 bytes
Szymon Sokรณล <szymon@bastard.operator.from.hell.pl> writes:
> Well, any suggestions for me?
Yeah, but not any that you're going to like. *wry look*
> expire begin Thu Mar 10 00:37:03 CET 2005: (-v1
> -z/usr/local/news/log/expire.rm)
> Article lines processed 22093586
> Articles retained 20923420
> Entries expired 1170166
> Articles dropped 0
> expire end Thu Mar 10 01:07:40 CET 2005
> all done Thu Mar 10 01:07:40 CET 2005
> expireover start Thu Mar 10 01:08:05 CET 2005
> expireover end Thu Mar 10 15:17:31 CET 2005
> lowmarkrenumber begin Thu Mar 10 15:17:31 CET 2005:
> (/usr/local/news/log/expire.lowmark)
> lowmarkrenumber end Thu Mar 10 15:17:57 CET 2005
With that large of a spool, expire is just going to take a long time
because it verifies the existence of every article. The solution is to
rewrite how expire works so that it doesn't verify every article. The
primary reason why it does this right now is for processing cancels and
for dealing with gaps around Expires, which means that if you don't accept
cancels and don't care about Expires, you could in theory tweak expireover
to stop checking articles as soon as it finds the first article that still
exists. That would be much faster.
I also keep meaning to look at the CNFS code to see if I can make the
article probe faster.
A more comprehensive solution is to teach INN to expire overview entries
for cancelled messages immediately, which would also as a side effect let
us get rid of nnrpdartcheck in nearly all cases. Combine this with
support for immediate expiry of the history entry, and expireover can be
significantly restructured in a way that would make it considerably
faster. With a slight additional improvement, you can then get cyclic
history, with resulting significant wins for expire related to not having
to hold two history hashes in memory at the same time.
Unfortunately, this is neither a simple nor easy task, which means getting
it done is going to either continue to wait on my free time to work on INN
as a hobby or is going to require someone else stepping forward to do the
work.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87psy6twle.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.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<d0pdr4$1itd$1@usenet.ath.cx> <874qfjtgic.fsf@windlord.stanford.edu> <d0riuk$n9u$1@galaxy.uci.agh.edu.pl>Show Full Headers
Complete Article Headers
Message-ID: <87psy6twle.fsf@windlord.stanford.edu> Subject: Re: News daily takes 8 hours Date: Fri, 11 Mar 2005 00:28:45 -0800 From: Russ Allbery <rra@stanford.edu> References: <d0pdr4$1itd$1@usenet.ath.cx> <874qfjtgic.fsf@windlord.stanford.edu> <d0riuk$n9u$1@galaxy.uci.agh.edu.pl> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 51 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Trace: news.Stanford.EDU 1110529725 394 171.64.19.147 (11 Mar 2005 08:28:45 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4 (Jumbo Shrimp, linux) Cancel-Lock: sha1:DBaYTS14E70ccpWp517tmg31Dpk=