🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #29923

Re: bogus overview! file in 2.0 and later

#29923
From: Jon Harley
Date: Mon, 20 Jul 1998 00:00
40 lines
2459 bytes
bill@twwells.com (T. William Wells) writes:
>Periodically, one of the servers I manage creates an overview!
>file, presumably because innd has decided that it's time to flush
>some buffers. This leads to the obvious problem of what to do with
>said file. It isn't documented whether I can run overchan on this
>file while overchan is already running

Yes, you can. Each overchan locks an overview index file before
writing to it.

> -- and in any case, if this
>sort of thing happens, there ought to be some standard way of
>dealing with the file. In previous versions of inn, I'd decided to
>run overchan independently of innd; not only did that get rid of
>an unnecessary innd fork, it prevented this from being a problem.

Standard or not, I have a crontab entry like this which deals
with it:

0 1,7,13,19 * * * /bin/mv /news/spool/outgoing/overview! /tmp/missed-over 2>/dev/null && /news/bin/overchan /tmp/missed-over

>That's not the only problem with this file, though. Whatever inn
>is doing, it is _not_ flushing from the start of a line. I'll
>often see the first bit of the file start in the middle of a token
>or in the xrefs.

That's bad news because it'll mean that article doesn't get indexed;
I haven't seen that problem myself. But overchan does check the
validity of its input and should just report an error for that
line and continue.


/Jon
-- 
______________________________________________________________________________
Dr JW Harley               J.W.Harley@warwick.ac.uk                IT Services
Phone: 01203 524217       UNIX/Networking Consultant     University of Warwick
See  http://www.warwick.ac.uk/J.W.Harley/  for fax number, address and PGP key

Technical Details
Message-ID: <6ov2j6$r10$1@holly.csv.warwick.ac.uk>
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
References: <6ouf8d$hq8$1@twwells.com>

Show Full Headers
Complete Article Headers
Message-ID: <6ov2j6$r10$1@holly.csv.warwick.ac.uk>
Subject: Re: bogus overview! file in 2.0 and later
Date: Mon, 20 Jul 1998 00:00:00 +0000
From: Jon.Harley@warwick.ac.uk (Jon Harley)
References: <6ouf8d$hq8$1@twwells.com>
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: 373110637
X-Complaints-To: abuse@csv.warwick.ac.uk
X-Trace: holly.csv.warwick.ac.uk 900926886 27680 137.205.192.26 (20 Jul 1998 09:28:06 GMT)
Organization: University of Warwick, UK
NNTP-Posting-Date: 20 Jul 1998 09:28:06 GMT
Newsgroups: news.software.nntp