🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #13313

Re: INN 1.4unoff4 with MMAP and sharedactive patch problem

#13313
From: Mike Pelletier
Date: Mon, 16 Dec 1996 00:00
26 lines
1673 bytes
In article <58v8ll$jk9$1@emerald.silicon.net>,
	Christopher Ellwood <chris@Silicon.NET> wrote:
>In news.software.nntp, Mike Pelletier said...
>>What seems to be happening is that the NNRP "list active" that trn
>>sends to get an initial list of newsgroups, is returning the active
>>file from the disk drive, which is not synced with the active file
>>in memory, so the counts of unread articles are wrong, and are not
>>updated until the group is actually entered and a GROUP command is
>>issued.
>
>With INN v1.5, you need to set "MMAP_SYNC" in your config.data file to
>"DO".  I don't know if INN 1.4unoff4 has that option.

Chris, I upgraded to 1.5 and was very pleased to find this mmap_sync
option, but when I compiled the code with that option set, I got an
"Invalid argument" error when the innd tried to call "msync()".  I
set it to use the two-argument option, in accordance with the BSD/OS
2.1 man page about "msync()" but perhaps I should try it with three
arguments.

Any suggestions, anyone?

	-Mike Pelletier.

Technical Details
Message-ID: <593u6g$c0e@valhalla.comshare.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
References: <58hir9$g04@valhalla.comshare.com> <58v8ll$jk9$1@emerald.silicon.net>

Show Full Headers
Complete Article Headers
Message-ID: <593u6g$c0e@valhalla.comshare.com>
Subject: Re: INN 1.4unoff4 with MMAP and sharedactive patch problem
Date: Mon, 16 Dec 1996 00:00:00 +0000
From: mikep@comshare.com (Mike Pelletier)
References: <58hir9$g04@valhalla.comshare.com> <58v8ll$jk9$1@emerald.silicon.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: 204399979
Distribution: inet
Organization: Comshare, Inc.
Newsgroups: news.software.nntp