🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #4646

NN thrashes .newsrc file (esp over NFS)

#4646
From: Nick Andrew
Date: Sat, 14 Aug 1993 14:26
27 lines
2065 bytes
I noticed this problem while running NN over NFS. Every time I go to a new
group NN rewrites the .newsrc file in its entirety. I am running NN 6.4.18.

I've been running NN locally for years and never noticed it. I can guess
then that it isn't a problem when done locally.

However if I run it over NFS I can hear the disk thrash at the time of
writing. Moreover, it takes longer. A looping shell script (doing a
regular ls -l .newsrc) shows the file growing.

NFS is a stateless protocol. Does this imply that my server (Sun 3/60 running
SunOS 4.0) biod must open and close the .newsrc file many times?

The client is a Linux box. I have heard that Linux only supports small
block sizes (rsize=1024,wsize=1024). Does this contribute to the thrashing?
My .newsrc is about 32k long.

Finally although I appreciate Nn's motive in keeping my .newsrc up-to-date,
surely this effort is wasted. Wouldn't it be more appropriate to update
the file every 5 minutes and on exit only?

Nick.
-- 
Kralizec Dialup Unix (Public Access)    Data: +61-2-837-1183, 14400 24hrs 8N1
Zeta Microcomputer Software             Data: +61-2-837-1868, 2400 24hrs 8N1
P.O. Box 177, Riverstone NSW 2765       Plan: To beat Gnuchess 4.1 !
Technical Details
Message-ID: <24isnbINNskr@kralizec.zeta.org.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!munnari.oz.au!metro!sequoia!ultima!kralizec.zeta.org.au!kralizec.zeta.org.au!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <24isnbINNskr@kralizec.zeta.org.au>
Subject: NN thrashes .newsrc file (esp over NFS)
Date: Sat, 14 Aug 1993 14:26:51 +0000
From: nick@kralizec.zeta.org.au (Nick Andrew)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!munnari.oz.au!metro!sequoia!ultima!kralizec.zeta.org.au!kralizec.zeta.org.au!not-for-mail
Newsgroups: news.software.nn,comp.protocols.nfs,comp.os.linux
Organization: Kralizec Dialup Unix Sydney: +61-2-837-1183 V.32bis
Lines: 26
NNTP-Posting-Host: kralizec.zeta.org.au
Summary: How can I stop it happening?