🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #15412

Re: Patch to inn-1.5.1's nnrpd to mmap() the active file shared+ro

#15412
From: Robert A Heller
Date: Fri, 28 Feb 1997 00:00
52 lines
2947 bytes
What patch is this and where can I get it ?

In Article Re: Patch to inn-1.5.1's nnrpd to mmap() the active file shared+ro , Matt Dillon <dillon@flea.best.net> wrote:
: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

--------------------------------------------------------
Name: Robert A Heller
E-mail: Robert A Heller <rah@mail.xl.ca>
Date: 02/28/97
Time: 16:13:16

This message was sent by Z-Mail Pro - from NetManage
NetManage - delivers Standards Based IntraNet Solutions
--------------------------------------------------------



Technical Details
Message-ID: <Forum.857175217.32055.RAH@platypus.xl.ca>
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: <5d6th6$b8h@flea.best.net> <32f95bab.180976735@news.deltanet.com> <5dbr31$1cb@flea.best.net>

Show Full Headers
Complete Article Headers
Message-ID: <Forum.857175217.32055.RAH@platypus.xl.ca>
Subject: Re: Patch to inn-1.5.1's nnrpd to mmap() the active file shared+ro
Date: Fri, 28 Feb 1997 00:00:00 +0000
From: Robert A Heller <rah@xl.ca>
References: <5d6th6$b8h@flea.best.net> <32f95bab.180976735@news.deltanet.com> <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-mail
X-Deja-AN: 222201948
X-Priority: 3 (Normal)
Organization: eXpress Lane Communications Corporation
Newsgroups: news.software.nntp