Article View: news.software.nntp
Article #14767Re: Patch to inn-1.5.1's nnrpd to mmap() the active file shared+ro
From: bill davidsen
Date: Wed, 05 Feb 1997 00:00
Date: Wed, 05 Feb 1997 00:00
42 lines
2429 bytes
2429 bytes
In article <5d8d56$2k0$1@Jupiter.Mcs.Net>, Karl Denninger <karl@MCS.COM> wrote: | Heh INN people! | | How about folding this into the default distribution if MMAP is defined? How about MMAP_ACTIVE for reasons detailed below. | This REALLY does work well, and it completely avoids the "crash and wedge" | problem that the shared-active patch has had from time to time. | | With this one, perhaps I can get rid of one of my "watchdog" processes that | runs around trying to detect the wedge condition -- since it can't happen | any longer. I did something like this on inn1.4sec2 (or maybe earlier, jan-feb 95 timeframe). It worked well until I got to my machines which are NFS slaves to serve readers without needing a lot of disk. MMAP on an NFS mounted file didn't work well on AIX. It also failed completely on another platform, don't remember if it was SCO, SunOS, Linux, Dell/Intel SVR4 or whatever I was working on two years ago. I intend to look at this in the near future (next few days), but I have an additional problem with my machines, some run as NFS slaves and may have a problem memory mapping a remote file. I know they don't when I use shared active. For that reason I'd like to see a separate option in the config, in case the stuff which now works with MMAP and mapped active are not the same on some machines. | I like it. A lot. I like the idea enough to make time to try it, I'll let you know after that ;-) Before it goes in the main distribution I'd like to see maybe a month of extra experience, but it certainly should go in unless someone finds a major problem. -- -bill davidsen (davidsen@tmr.com) "As a software development model, Anarchy does not scale well." -Dave Welch
Technical Details
Message-ID:
<5dadc3$tf8@usenet1y.prodigy.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> <5d8d56$2k0$1@Jupiter.Mcs.Net>Show Full Headers
Complete Article Headers
Message-ID: <5dadc3$tf8@usenet1y.prodigy.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: davidsen@tmr.com (bill davidsen) References: <5d6th6$b8h@flea.best.net> <5d8d56$2k0$1@Jupiter.Mcs.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: 214640549 Distribution: inet Organization: TMR Associates, Schenectady NY Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com