🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #30504

Re: INN 2.0/2.1+CNFS Expiring like a Madman

#30504
From: Steven Gillard
Date: Fri, 14 Aug 1998 00:00
39 lines
2605 bytes
Joerg Moellenkamp wrote:
> 
> rune@ftech.net schrieb in Nachricht 
> >I can confirm this - I run inn 2 without tagged hash (and with
> >extendeddbz - but thats much less of an issue) and I see expire taking
> >~309Mb (this is with an 800Mb history textfile)

> same effect , expire starts at 4:00, when i come in my office , at 7, the
> expire will endure at least further 1 to 2 hours .... in this time, the system
> is unusable. nnrp-request get no reaction from the newsserver.

I was having the same problems - expire chewing up close to 300Meg of
memory, taking 8-10 hours to run and the system paging like crazy.
This is on a HPUX system with 350Meg of memory, and a 500-600Meg history
file.

I found disabling extendeddbz to be a help (followed by makehistory -r
-s <size> to rebuild the dbz files).  Expire now runs with 185Meg data
segment size and usually finishes in less than 2 hours.  The machine is
now responding OK, but memory pressure during expire is still very high.

It seems to be because expire reads the history.hash and history.index
files into memory, and with extendeddbz on these files are much larger. 
My plans are to increase memory by 100Meg and reduce the history file
size by setting a smaller remember value in expire.ctl.  This is
probably not enough to turn extendeddbz back on, but should ease things
further.

I'd suggest leaving extendeddbz off unless you have *well* over half a
Gig of memory, and anything less than 400Meg compile with
--enable-tagged-hash.  Of course, a lot depends on the size of your
history file.

Just my 2 cents worth...

steven_gillard@hp.com.nojunkmail
...opinions expressed are my own...

Technical Details
Message-ID: <35D3C710.3D29@hp.com.nojunkmail>
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
References: <6qde7s$jf3$1@ramp2.tir.com> <371zqtfmkn.fsf@cascade.cs.ubc.ca> <6qf0sp$hrk$1@news.uxd.fc.nec.co.jp> <37n29gpmo6.fsf@cascade.cs.ubc.ca> <6qmvn7$apb$1@ren.eecis.udel.edu> <3790kwmoe0.fsf@cascade.cs.ubc.ca> <874svj3j0j.fsf@rune.tech.ftech.net> <6qu1h9$p1g$1@news.nordwest.net>

Show Full Headers
Complete Article Headers
Message-ID: <35D3C710.3D29@hp.com.nojunkmail>
Subject: Re: INN 2.0/2.1+CNFS Expiring like a Madman
Date: Fri, 14 Aug 1998 00:00:00 +0000
From: Steven Gillard <steven_gillard@hp.com.nojunkmail>
References: <6qde7s$jf3$1@ramp2.tir.com> <371zqtfmkn.fsf@cascade.cs.ubc.ca> <6qf0sp$hrk$1@news.uxd.fc.nec.co.jp> <37n29gpmo6.fsf@cascade.cs.ubc.ca> <6qmvn7$apb$1@ren.eecis.udel.edu> <3790kwmoe0.fsf@cascade.cs.ubc.ca> <874svj3j0j.fsf@rune.tech.ftech.net> <6qu1h9$p1g$1@news.nordwest.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.mbox.zip!not-for-mail
X-Deja-AN: 381098932
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Organization: Hewlett Packard Australia
Mime-Version: 1.0
Newsgroups: news.software.nntp