Subject: Re: high-volume INN server on netbsd, mmap(), and expire
To: Scott Reynolds <scottr@Plexus.COM>
From: Curt Sampson <cjs@portal.ca>
List: current-users
Date: 08/04/1997 11:48:21
On Mon, 4 Aug 1997, Scott Reynolds wrote:
> Configure INN to avoid using mmap(); while I don't think there is any
> problem if the file is accessed using mmap() exclusively, going through
> the buffer cache can introduce inconsistencies (i.e. using
> read(2)/write(2)).
I used mmap on the active file for a while. You have to change
ICDwriteactive() in innd/icd.c to do an msync(), instead of a no-op,
for it to work properly under NetBSD.
cjs
Curt Sampson cjs@portal.ca Info at http://www.portal.ca/
Internet Portal Services, Inc. `And malt does more than Milton can
Vancouver, BC (604) 257-9400 To justify God's ways to man.'