🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80488

Re: INN, traditional overview method, and zero length overview files.

#80488
From: D. Stussy
Date: Sun, 29 Mar 2009 23:06
30 lines
2742 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:8763hst0ha.fsf@windlord.stanford.edu...
> "D. Stussy" <spam@bde-arc.ampr.org> writes:
> > I have noticed alot of bitching in the logs by "expireover" saying
> > "can't add 0 to _pathname_" where pathname is a zero-length traditional
> > overview file I deleted.  Can we get rid of this (or optionally disable
> > it - same option as suggested) in INN 2.5.0 before the final -rc
> > version?
>
> Randomly deleting files out of the overview database isn't supported by
> the current version of INN and I doubt this is something that we're going
> to change for the 2.5.0 release.

OK, but it's not "random."  It's the zero-length files, and I have a
feeling that expireover is erroring on trying to open them (since I deleted
them), but will NOT be writing anything to them (thus they remain
zero-length even if they did exist*), so should that really be an error
worth logging?  Now, if the overview files should not be zero length
because the active file says there are articles, that's different - that
should remain a reportable error.

* - If this weren't so, there would never be any zero-length traditional
overview .IDX/.DAT files after expireover had run once, let alone on any
server running for a year or more.

I guess we're from two different schools of thought:  You prefer to reserve
resources (and the code currently does that), while I don't like wasting
resources that are going unused.

Technical Details
Message-ID: <gqoutf$fs6$1@aux.snarked.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder1.news.weretis.net!news.snarked.org!not-for-mail
References: <gqh1ra$c58$1@aux.snarked.org> <87myb7dbvw.fsf@windlord.stanford.edu> <gqorp4$fmb$1@aux.snarked.org> <8763hst0ha.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <gqoutf$fs6$1@aux.snarked.org>
Subject: Re: INN, traditional overview method, and zero length overview files.
Date: Sun, 29 Mar 2009 16:06:22 -0700
From: "D. Stussy" <spam@bde-arc.ampr.org>
References: <gqh1ra$c58$1@aux.snarked.org> <87myb7dbvw.fsf@windlord.stanford.edu> <gqorp4$fmb$1@aux.snarked.org> <8763hst0ha.fsf@windlord.stanford.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder1.news.weretis.net!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp
Lines: 30
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-106-211-188.lsanca.dsl-w.verizon.net
X-Trace: aux.snarked.org 1238367984 16262 71.106.211.188 (29 Mar 2009 23:06:24
 GMT)
X-Complaints-To: newsmaster@snarked.org
NNTP-Posting-Date: Sun, 29 Mar 2009 23:06:24 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-Original-Bytes: 2536