🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Nick Andrew Sat, 14 Aug 1993 14:26
NN thrashes .newsrc file (esp over NFS)
#4646
Author: 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 !
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