Article View: news.software.nntp
Article #14778Re: Patch to inn-1.5.1's nnrpd to mmap() the active file shared+ro
From: Matt Dillon
Date: Wed, 05 Feb 1997 00:00
Date: Wed, 05 Feb 1997 00:00
38 lines
2382 bytes
2382 bytes
:In article <32f95bab.180976735@news.deltanet.com>,
:John J. Sawa <jsawa@deltanet.com> wrote:
:>I am curently using the patch on my NFS mounted reader machines and it works
:>great! I do not run inn on those machines I just fire off nnrpd out of inetd. I
:>have noticed that nnrpd only takes about half the memory it used to. I can get
:>between 60%-80% more connections per machine with the patch.
:>
:>Kudos to Matt...
:>
:>John J. Sawa
:>jsawa@delta.net
Thank you! I should have posted this patch months ago but, silly me,
I was assuming that it would be fixed in INN 1.5.
Certainly many people are going to have different experiences with
NFS-mounted news spools, as I believe another person mentioned in an
earlier posting. It will depend heavily on the OS the NFS client is
operating under... caching is the key. My worry with NFS is always
more towards reliability... I've managed to crash many an operating system
through heavily used NFS mounts. News is probably safer then most,
especially if it's a read-only mount, but our own newsreader machines
use 16GB local spools and take a feed from our newsfeeds machine
rather then attempting to use NFS.
It ought to be possible to rewrite NNTP to use even less memory...
there is really no good reason why it uses so much. I've contemplated
rewriting nnrpd several times but have always balked because I hate
INN's access methodology (active, newsgroups, spool topology, etc...)
and didn't want to waste time building a new program around it. I'm
hoping to eventually get NNTP client capabilities built into
Diablo (which I just released for Alpha), but that's a long way off.
-Matt
Technical Details
Message-ID:
<5dbr31$1cb@flea.best.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-mailReferences:
<5d6th6$b8h@flea.best.net> <32f95bab.180976735@news.deltanet.com>Show Full Headers
Complete Article Headers
Message-ID: <5dbr31$1cb@flea.best.net> Subject: Re: Patch to inn-1.5.1's nnrpd to mmap() the active file shared+ro Date: Wed, 05 Feb 1997 00:00:00 +0000 From: dillon@flea.best.net (Matt Dillon) References: <5d6th6$b8h@flea.best.net> <32f95bab.180976735@news.deltanet.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 X-Deja-AN: 214787721 Organization: BEST Internet Communications, Inc. Newsgroups: news.software.nntp