🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #29941

Re: bogus overview! file in 2.0 and later

#29941
From: Jon Harley
Date: Tue, 21 Jul 1998 00:00
46 lines
2822 bytes
c.c.eiftj@18.usenet.us.com (Rahul Dhesi) writes:
 Jon.Harley@warwick.ac.uk (Jon Harley) writes:

   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.

>I was under the impression that the article numbers in .overview files
>must be in increasing order, otherwise either the nnrp server, or the
>overview expiration, will not work properly.  Granted, this requirement
>doesn't seem to be documented.

That's not the case; in nnrpd, the articles are sorted by number *after*
being read in. expireindex just takes a list of the articles to be removed
from the group, and if you use batch mode (-z) this does need to be
sorted; this may be what you were thinking of.

>  Presumably if you feed the overchan!
>file to overchan and later manually 'sort -n' the updated .overview file
>(with file locking) you should be ok.

No, because in INN2 the .overview files are binary files, not text.

>Not a big problem -- the nnrp server also reads the spool directory and
>fills in any missing overview entries.  At least, it used to do wo with
>inn 1.x.  I wonder if it also does so in inn 2.x?

Yes if you're not using the storage manager, which of course achieves
efficiency gains by not storing all the articles for a group in one
(sometimes huge) directory.


/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: <6p1rhr$bro$1@seletar.ap.deuba.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
References: <6ouf8d$hq8$1@twwells.com> <6ov2j6$r10$1@holly.csv.warwick.ac.uk> <6ov85a$1g8$1@samba.rahul.net>

Show Full Headers
Complete Article Headers
Message-ID: <6p1rhr$bro$1@seletar.ap.deuba.com>
Subject: Re: bogus overview! file in 2.0 and later
Date: Tue, 21 Jul 1998 00:00:00 +0000
From: Jon.Harley@warwick.ac.uk (Jon Harley)
References: <6ouf8d$hq8$1@twwells.com> <6ov2j6$r10$1@holly.csv.warwick.ac.uk> <6ov85a$1g8$1@samba.rahul.net>
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: 373505298
X-Complaints-To: abuse@csv.warwick.ac.uk
X-Trace: holly.csv.warwick.ac.uk 901017979 12152 137.205.192.26 (21 Jul 1998 10:46:19 GMT)
Organization: University of Warwick, UK
NNTP-Posting-Date: 21 Jul 1998 10:46:19 GMT
Newsgroups: news.software.nntp