Article View: news.software.nntp
Article #50535Re: timings for very long news.daily
From: Russ Allbery
Date: Sat, 10 Feb 2001 02:41
Date: Sat, 10 Feb 2001 02:41
50 lines
2921 bytes
2921 bytes
Ah, here's the informatoin I was wondering about. Brian Edmonds <brian@gweep.ca> writes: > The last news.daily run took over two days, having started at 2am on > Wednesday the 7th of February. Here's the timing: > expireover start Wed Feb 7 02:37:24 PST 2001: ( -z/news/log/expire.rm) > Article lines processed 1684237 > Articles dropped 241668 > Overview index dropped 266830 > expireover end Thu Feb 8 00:18:32 PST 2001 Good grief. Okay, I don't think that could be a memory-related problem; expireover doesn't care about how big your history file is... although hm, maybe it's trying to mmap it. How big is your history.hash file? What overview mechanism are you using? And do you have any incredibly huge overview files, if you're using tradindexed? (A quick find with a size limit should turn them up if so). > expirerm start Thu Feb 8 00:23:12 PST 2001 > expirerm end Thu Feb 8 08:42:22 PST 2001 STABLE should cut that to about an hour, but you're right, that's not going to help a lot. > expire begin Thu Feb 8 08:43:00 PST 2001: (-v1) > Article lines processed 1963298 > Articles retained 1712546 > Entries expired 250752 > Old entries dropped 215740 > Old entries retained 157257 > expire end Fri Feb 9 02:21:18 PST 2001 > all done Fri Feb 9 02:21:19 PST 2001 This is the place where memory limitations usually come back to bite you if that's the problem, since expire needs enough memory to hold another copy of the history.hash file. One thing you could try is to change the options struct in lib/dbz.c to specify INCORE_NO instead of INCORE_MMAP for the hash file and then recompile just expireover and expire (plus libstorage) with that setting, *not* innd. That may help if the problem is memory pressure. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<yl3ddnz2ca.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!news.tele.dk!171.64.14.106!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mailReferences:
<m3pugrej43.fsf@yuri.gweep.bc.ca>Show Full Headers
Complete Article Headers
Message-ID: <yl3ddnz2ca.fsf@windlord.stanford.edu> Subject: Re: timings for very long news.daily Date: Sat, 10 Feb 2001 02:41:41 +0000 From: Russ Allbery <rra@stanford.edu> References: <m3pugrej43.fsf@yuri.gweep.bc.ca> 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!news.tele.dk!171.64.14.106!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 49 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 981772901 17930 171.64.13.23 (10 Feb 2001 02:41:41 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)