🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36410

Re: Config files for CNFS

#36410
From: Arthur Hagen
Date: Thu, 08 Apr 1999 00:00
49 lines
3236 bytes
In article <ylyak3wwvx.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> writes:

> If you use CNFS cycbuffs exclusively, the only line in expire.ctl that
> matters is the /remember/ line.  Everything else is ignored.

Uhm, no.  You may want to set up expire dates for use by expireindex to
keep the overview and history files down to a manageable size.  If you
run "news.daily expireover", it will read the individual old-style
expiry settings (as opposed to the new type of expiry based on which
metacycbuff index a posting is in) and do the expiry for you with the
default settings.  I recommend this for several reasons - not only does
it limit load on the server with a smaller history / smaller overview
files, but also  because it limits the amount of traffic and prevents
e.g. new sites from pulling down 8 million control.cancel postings the
first time they connect.

(For HP-UX 10.20 it is a must, btw, cause new articles won't be
fetchable until you run an expireindex.  I never found a solution to
this problem, and believe it's because of mmap'ing not working well
with more than one process on HP-UX, even with msync.  If anyone else
have managed to fix INN-2.2 to work well with HP-UX 10.20, I'd like
to hear how you did it.  Rewriting the code so mmap is NEVER used
seems to be an option, but one I hope others have done before, also
for INN-2.2 (I found a patch for INN 2.0, but unfortunately things
have changed too much since then)).

> For readers, you'll also need an overview.ctl.  There's a suggestion in
> the documentation on a good first shot at that; people here have reported
> more success and more speed by using more buckets than just 26.

Putting the busiest groups in their own slots/buckets seems to help
more than the number of slots.  Especially control.cancel should have
its own slot.  For new users it's worth noting that you easily can run
into OS restrictions if you try to configure too many slots without
tuning the OS to handle more simultaneously open file descriptors per
user (and, if using mmap, number of concurrent mmaps too).  Even with
tuning, many OS'es have a hard limit of 255 open file descriptors per
user, so making 255 slots/buckets would often be a bad idea.

I also believe I saw a script that analyzed the active file, and
reconfigured overview.ctl into X number of slots with patterns based
on how busy the groups were.

Regards,
-- 
*Art

Technical Details
Message-ID: <7ehuvt$2qef$1@kether.broomstick.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!not-for-mail
References: <7eg9as$340$1@Dudley.InfoMagic.com> <ylyak3wwvx.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <7ehuvt$2qef$1@kether.broomstick.com>
Subject: Re: Config files for CNFS
Date: Thu, 08 Apr 1999 00:00:00 +0000
From: art@kether.broomstick.com (Arthur Hagen)
References: <7eg9as$340$1@Dudley.InfoMagic.com> <ylyak3wwvx.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!not-for-mail
X-Deja-AN: 463980496
X-Complaints-To: abuse@broomstick.com
X-Trace: kether.broomstick.com 923565885 92623 127.0.0.1 (8 Apr 1999 10:04:45 GMT)
Organization: Global One
Reply-To: art@broomstick.com
NNTP-Posting-Date: 8 Apr 1999 10:04:45 GMT
Newsgroups: news.software.nntp