🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #41359

dexpireover and locked files

#41359
From: Nickolai Zeldovich
Date: Sun, 07 Nov 1999 00:00
20 lines
1377 bytes
I've been playing with Diablo's reader, and ran into an interesting
problem: it seems that the reader hflock()'s the over.* files that
clients request, but dexpireover needs to hflock() the over.* file
with XLOCK_EX (exclusive?) in order to resize the group. If the resize
doesn't happen, overview data gets lost (I'm not sure if it just fails
to be written, or cycles over the oldest entries). With a large number
of readers which are reading high-traffic groups, this becomes somewhat
problematic if the group increases in volume and needs to be resized.

What do people do in these cases? Kill dreaderd for a "clean" run of
dexpireover once every two weeks or so? This doesn't seem particularly
appealing.. Along the same lines but less of a problem is cleaning the
dactive.kp file.

TIA,

Nickolai Zeldovich.


Technical Details
Message-ID: <slrn82bjqi.s4q.kolya@hodge-podge.mit.edu>
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: <slrn82bjqi.s4q.kolya@hodge-podge.mit.edu>
Subject: dexpireover and locked files
Date: Sun, 07 Nov 1999 00:00:00 +0000
From: kolya@MIT.EDU (Nickolai Zeldovich)
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: 545619072
Organization: Massachvsetts Institvte of Technology
Reply-To: kolya@MIT.EDU
Newsgroups: news.software.nntp