Thread View: news.software.readers
3 messages
3 total messages
Started by Vincent D. Skahan
Mon, 10 Feb 1992 15:40
rn 4.4 locks active file (?)
Author: Vincent D. Skahan
Date: Mon, 10 Feb 1992 15:40
Date: Mon, 10 Feb 1992 15:40
17 lines
1152 bytes
1152 bytes
I'm running the current C-news on a ring of Apollo
workstations, with the current nn and pl2 of rn as
newsreaders.
I've noticed that when anybody is merely reading in
'rn', that nobody can post articles from 'nn', or
even B-news postnews. The message received says that
the active file is locked and indeed it is, by the
'rn' user(s)..
Is there a compilation option for 'rn' that will
reverse this ? How 'bout the latest patch for 'rn' ?
--
--------- Vince Skahan ----------- vince@atc.boeing.com ---------
Woody: How's life, Mr. Peterson?
Norm: Oh, I'm waiting for the movie.
Re: rn 4.4 locks active file (?)
Author: System Admin (Mike Peterson)
Date: Wed, 12 Feb 1992 17:35
Date: Wed, 12 Feb 1992 17:35
32 lines
2244 bytes
2244 bytes
In article <1992Feb10.154056.27424@aw2.fsl.ca.boeing.com> vds7789@aw2.fsl.ca.boeing.com (Vincent D. Skahan) writes: >I'm running the current C-news on a ring of Apollo >workstations, with the current nn and pl2 of rn as >newsreaders. > >I've noticed that when anybody is merely reading in >'rn', that nobody can post articles from 'nn', or >even B-news postnews. The message received says that >the active file is locked and indeed it is, by the >'rn' user(s).. That is because the Apollo locks files across nodes, unlike NFS, and your news posting stuff can't get a "write" lock on the file when a "read" lock exists from another node (it can do it for a local lock, I think). >Is there a compilation option for 'rn' that will >reverse this ? How 'bout the latest patch for 'rn' ? Some patches were posted a while ago for this; our solution requires no patching: we have the readers using a copy of the active file (via a link from each node), and the active.copy file is replaced every so often by a copy of the real active file. I can supply a script I run from cron on the news master node, bit it's pretty simple. You could also just copy the active file to each node, but this can get brutal for lots of nodes (or slow nodes). The penalty to my scheme is that once you are in 'rn', you don't see newer news until you exit and start again. Mike. -- What are the chances that any computer system will ever "work" properly? .. and Slim just left town. -*- Mike Peterson, SysAdmin, U/Toronto Chemistry
Re: rn 4.4 locks active file (?)
Author: Vincent D. Skahan
Date: Sun, 16 Feb 1992 19:20
Date: Sun, 16 Feb 1992 19:20
29 lines
1952 bytes
1952 bytes
system@alchemy.chem.utoronto.ca (System Admin (Mike Peterson)) writes:
>In article <1992Feb10.154056.27424@aw2.fsl.ca.boeing.com> vds7789@aw2.fsl.ca.boeing.com (Vincent D. Skahan) writes:
>>I'm running the current C-news on a ring of Apollo
>>workstations, with the current nn and pl2 of rn as
>>newsreaders.
>>
>>I've noticed that when anybody is merely reading in
>>'rn', that nobody can post articles from 'nn', or
>>even B-news postnews. The message received says that
>>the active file is locked and indeed it is, by the
>>'rn' user(s)..
Mike kicked me his fixes (thanks!), but I found a simpler
workaround. I recompiled 'rn' using a different filename
for the active file that I update once per hour from the
'real' active file via cron.
rn can happily lock the rn-specific file for reading
to its hearts content without affecting anybody else.
(but it's still something that needs to be looked at
formally for a future rn4.4 release. I don't recall
earlier releases of rn having this problem).
--
--------- Vince Skahan ----------- vince@atc.boeing.com ---------
"Pagan rain dance - works every time."
-- Bart in Pagans when it starts raining on Homer while
he is changing the tire on the car (Tracy Ullman Show)
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