🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62308

Re: INN history tuning dilemma

#62308
From: Curt Welch
Date: Fri, 13 Dec 2002 22:55
15 lines
1990 bytes
Russ Allbery <rra@stanford.edu> wrote:
> 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.

I've used a "cat history > /dev/null" trick from cron every 5 minutes to
"encourge" more history file blocks to stay in-core on systems that really
didn't have enough memory to do this on it's own. This was not with inn
however so "history" probably isn't the correct file name to use with inn.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20021213175558.959$Tz@newsreader.com>
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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!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> <ylbs3pr7x1.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <20021213175558.959$Tz@newsreader.com>
Subject: Re: INN history tuning dilemma
Date: Fri, 13 Dec 2002 22:55:58 +0000
From: curt@kcwc.com (Curt Welch)
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> <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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com 3LovFTqxbQTUa5c_-s8Rlmv.bLXu.l+.RqYgD.TXQEa=s,jx
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 14