🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62307

Re: INN history tuning dilemma

#62307
From: Russ Allbery
Date: Fri, 13 Dec 2002 20:16
23 lines
2062 bytes
Thomas <zak@spam.invalid> writes:

> If the hash is too small, and more than 10 collisions occur, the hash is
> expanded into a history.pag file. That file is a sign of a problem, but
> it doesn't exist on my system.

100, actually.  It was changed a while back because overflows destroy
performance badly.

> System tuning time :) Maybe Linux isn't that good a choice still, memory
> management wise.

One trick that you can do in Solaris is to run a process that maps the
history tables and then locks them in memory with mlock().  There's a
program in contrib in INN CURRENT from Alex Kiernan that does that.  I
don't know if Linux has the same trick available.

-- 
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: <ylbs3pr7x1.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <Py7K9.814$3G4.2389@amstwist00> <hLiK9.911$3G4.2521@amstwist00> <slrnavjkdb.2qos.andrew+nonews@trinity.supernews.net> <%ynK9.1009$3G4.2233@amstwist00> <atdakc$ci8$1@puck.litech.org> <qWqK9.1118$3G4.2677@amstwist00>

Show Full Headers
Complete Article Headers
Message-ID: <ylbs3pr7x1.fsf@windlord.stanford.edu>
Subject: Re: INN history tuning dilemma
Date: Fri, 13 Dec 2002 12:16:42 -0800
From: Russ Allbery <rra@stanford.edu>
References: <Py7K9.814$3G4.2389@amstwist00> <hLiK9.911$3G4.2521@amstwist00> <slrnavjkdb.2qos.andrew+nonews@trinity.supernews.net> <%ynK9.1009$3G4.2233@amstwist00> <atdakc$ci8$1@puck.litech.org> <qWqK9.1118$3G4.2677@amstwist00>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 22
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1039810602 7009 171.64.13.23 (13 Dec 2002 20:16:42 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:U9sjzuX9L3dVOXL/gmhYC6UGb+4=