🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81721

Re: Modification thought - was Re: INN's expire program and memory usage:

#81721
From: Alexander Bartolich
Date: Thu, 30 Jul 2009 06:07
42 lines
2899 bytes
D. Stussy wrote:
> [...] it's obivous that without some limit, the size of the history
> file may grow beyond the size that the expire program can process daily
> (if all articles are retained).

Obvious is a big word.

I have currently 14 * 8 = 112 GB of CNFS storage in use.
My history file is larger than physical RAM.

$ vdir -h /var/lib/news/history
-rw-rw-r-- 1 news news 3.0G 2009-07-30 07:46 /var/lib/news/history

$ wc -l /var/lib/news/history
32920205 /var/lib/news/history

$ free -m
             total       used       free     shared    buffers     cached
Mem:          1982       1958         24          0         23        878
-/+ buffers/cache:       1055        927
Swap:        10247        272       9974

And still expire takes only about an hour.

$ more /var/log/news/expire.log 
expireover start Thu Jul 30 03:01:48 CEST 2009: ( -z/var/log/news/expire.rm)
expireover end Thu Jul 30 03:56:37 CEST 2009
expire begin Thu Jul 30 03:57:07 CEST 2009: (-v3)
    Article lines processed 32573982
    Articles retained       32456949
    Entries expired           117033
expire end Thu Jul 30 04:04:01 CEST 2009
        all done Thu Jul 30 04:04:01 CEST 2009

I'm using the stock INN 2.4.3+20070806-1 shipped with Ubuntu 8.04 LTS
(x86_64), tradindexed, with all file system being XFS.

-- 
Brüder, in die Tonne die Freiheit,
Brüder, ein Stoppschild davor.
Egal was die Schwarzen Verlangen
Rufen wir: Ja! Brav im Chor.
Technical Details
Message-ID: <h4rdbp$5td$2@news.albasani.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!news.albasani.net!not-for-mail
References: <h4lj94$4c8$1@snarked.org> <873a8hh98m.fsf@windlord.stanford.edu> <h4qnls$ia6$1@snarked.org>

Show Full Headers
Complete Article Headers
Message-ID: <h4rdbp$5td$2@news.albasani.net>
Subject: Re: Modification thought - was Re: INN's expire program and memory usage:
Date: Thu, 30 Jul 2009 06:07:53 +0000
From: Alexander Bartolich <alexander.bartolich@gmx.at>
References: <h4lj94$4c8$1@snarked.org> <873a8hh98m.fsf@windlord.stanford.edu> <h4qnls$ia6$1@snarked.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!news.albasani.net!not-for-mail
Newsgroups: news.software.nntp
Supersedes: <h4rd4h$5td$1@news.albasani.net>
Organization: albasani.net
Lines: 42
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.albasani.net
 dvaCfeICw6zaqMuG1r5Y1fen718QWtOJewMUdUE+saQg7gF+pIgGHhJlRb/N5MOqD9v0wEBxTKEkvkXwnPE9UOqpPna9Cv9pWdnQy2FBqLhmud8RS8+cH7lXZls/mv4i
X-Complaints-To: abuse@albasani.net
NNTP-Posting-Date: Thu, 30 Jul 2009 06:07:53 +0000 (UTC)
Cancel-Key: sha1:JmI/JvGeAoTeVHq6OaCMP6+9ITo=
X-User-ID: rGRfs4AS38Y46QZ1XWEX2yNMJgvb0WRCw/4A4aWgbOfvMgGusm4oZUeUdPFJRR1gqkcKCgWGvQoIP+PJfyz0pw==
Cancel-Lock: sha1:sb8O7cnPZydfae/DTiTPhmirIkE=
User-Agent: slrn/0.9.9p1 (Linux)
X-NNTP-Posting-Host: jNx1kJwNMWVlw/tHJoSWOJBHPGsr7ONdK/GIgSg+aW0=