Thread View: news.software.nntp
3 messages
3 total messages
Started by Mike Pelletier
Mon, 09 Dec 1996 00:00
INN 1.4unoff4 with MMAP and sharedactive patch problem
Author: Mike Pelletier
Date: Mon, 09 Dec 1996 00:00
Date: Mon, 09 Dec 1996 00:00
19 lines
1146 bytes
1146 bytes
I started noticing that my "trn" newsreader was indicating that some groups had no new articles when in fact there were additional articles in the group. 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. Is there some workaround for this, aside from turning off MMAP? Thanks! -Mike Pelletier.
Re: INN 1.4unoff4 with MMAP and sharedactive patch problem
Author: Christopher Ellwood
Date: Sat, 14 Dec 1996 00:00
Date: Sat, 14 Dec 1996 00:00
21 lines
1388 bytes
1388 bytes
In news.software.nntp, Mike Pelletier said... >I started noticing that my "trn" newsreader was indicating that some >groups had no new articles when in fact there were additional articles >in the group. > >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. > >Is there some workaround for this, aside from turning off MMAP? 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
Re: INN 1.4unoff4 with MMAP and sharedactive patch problem
Author: Mike Pelletier
Date: Mon, 16 Dec 1996 00:00
Date: Mon, 16 Dec 1996 00:00
26 lines
1673 bytes
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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads