🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #20425

Re: HPUX 10.X mmap() OK?

#20425
From: Per Harald Myrvang
Date: Tue, 12 Aug 1997 00:00
24 lines
1635 bytes
Nicholas Geovanis (nickgeo@merle.acns.nwu.edu) wrote:
> Well, I have two replies to my question, and they could be construed to
> contradict each other. Anyone else want to chime in? The replies follow.
[snip replies (including my own, which said HPUX's mmap works)]

I was wrong! It seems that HPUX's mmap works as long as the file which is
mmapped doesn't change. If it then does change, the result is, as documented,
"unspecified". And, as some point out, if it's documented, it's a _feature_.

Our active file haven't changed much during summer, so the problems didn't show
up until recently. What happened was that somebody noticed that GROUP xxx and
LIST ACTIVE xxx returned different last article numbers.

Turns out that the active file isn't remapped/reread until all nnrpds die.
Hohum. So I reversed the patch.

Ok, now you can all yell "Stupid Newbie Newsadmin!"... :)

--
Per Harald Myrvang
perm@cc.uit.no

Technical Details
Message-ID: <5sp39i$n49$1@news.uit.no>
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: <Pine.HPP.3.93.970806105706.10135B-100000@merle.acns.nwu.edu> <5sbhnk$j8a$1@hubble.csuchico.edu> <Pine.HPP.3.93.970811141452.29413A-100000@merle.acns.nwu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <5sp39i$n49$1@news.uit.no>
Subject: Re: HPUX 10.X mmap() OK?
Date: Tue, 12 Aug 1997 00:00:00 +0000
From: perm@cc.uit.no (Per Harald Myrvang)
References: <Pine.HPP.3.93.970806105706.10135B-100000@merle.acns.nwu.edu> <5sbhnk$j8a$1@hubble.csuchico.edu> <Pine.HPP.3.93.970811141452.29413A-100000@merle.acns.nwu.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: 263692314
Distribution: inet
Organization: Computer Centre, University of Tromsoe
Newsgroups: news.software.nntp