🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #33433

INN2.2 - articles late to appear on NFS-clients?

#33433
From: Ragnar Lonn
Date: Tue, 01 Dec 1998 00:00
32 lines
2416 bytes
Ok, here's another interesting problem :-)
We have a setup where one server runs innd and writes articles and
overview to the NFS-mounted spool (a Netapp filer). The history db is kept 
locally. The server NFS-exports ~news/db and ~news/etc to two reader servers 
that mount those directories to get access to config files and the history db. 
The reader servers also mount the spool/overview from the Netapp filer.

Now, with INN 1.7x this worked pretty well but with INN2.2 (981129 snapshot)
and CNFS we have one little problem. When an article has been received by 
innd, the reader server will see the active file updated immediately and thus 
they will tell all the newsreaders connected that there's a new article in 
whatever group the article was posted to (when they do e.g. a GROUP command) 
but when the newsreaders try to get XOVER data or the article itself, the 
reader servers can't find it until several minutes later. I figured this has 
to be because of the NFS mounts - the reader servers aren't informed of 
changes to the overview/cycbuff files, or something.

Now, why did this work in 1.7?  Well maybe because we weren't running CNFS?
I *suspect* it may have something to do with the way the system writes to 
cycbuff and overview files. It may be that the NFS system doesn't propagate
changes to files unless they are closed and INN keeps files open pretty long 
for performance reasons (to avoid having to open and close them all the time).
It could also be an MMAP issue. I'm going to try and install an innd and 
overchan that have been compiled with "HAVE_MMAP 0" to see if that
affects anything but I'd appreciate any input, especially from people who may
be running a similar setup.

Regards,

  /Ragnar

Technical Details
Message-ID: <74142e$9vf$2@zingo.tninet.se>
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

Show Full Headers
Complete Article Headers
Message-ID: <74142e$9vf$2@zingo.tninet.se>
Subject: INN2.2 - articles late to appear on NFS-clients?
Date: Tue, 01 Dec 1998 00:00:00 +0000
From: prl@algo.net (Ragnar Lonn)
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: 417505589
X-Complaints-To: abuse@algo.net
X-Trace: zingo.tninet.se 912528270 10223 195.163.78.93 (1 Dec 1998 16:04:30 GMT)
Organization: Telenordia
NNTP-Posting-Date: 1 Dec 1998 16:04:30 GMT
Newsgroups: news.software.nntp