🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #30314

Re: corrupt overview information

#30314
From: bill davidsen
Date: Thu, 06 Aug 1998 00:00
32 lines
2011 bytes
In article <6qafab$2sj$1@alpha.psd.k12.co.us>,
Brian Weaver <brian@psd.k12.co.us.delete.this.to.email.me> wrote:
| I'm getting corrupt overview information to my news reader
| from our INN-2.1 server. IS there an easy way to rebuild
| all of the overview without losing the entire spool? We
| are running storageapi/CNFS

Note that I'm not going to try this on any of my machines, use at your
own risk.

o  shutdown innd, and nnrpd if you run as a daemon

o  build an index, "makehistory -I<file>"

o  sort the index and rebuild your index files
   "sort -t' ' +1 -2 <file> | expireindex -a -o -z"

If you get "can't malloc 0 bytes" be sure that overviewmmap is "true"
for expireindex,,even if you run with it off. There seems to be a bug in
the non-mmap logic which sees an empty (or missing) file and tried to
malloc a buffer of the file size to hold the data. I turn on the mmap,
run expireindex, and turn it off, since I've had all sorts of problems
with it and readers and AIX.

-- 
Bill Davidsen (davidsen@tmr.com) CTO, TMR Associates, Inc
  What do you mean I shouldn't do things like that at my age? At my
age if you don't do things like that you might die of natural
causes or boredom!


Technical Details
Message-ID: <6qcd2d$sn4$1@newssvr09-int.news.prodigy.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: <6qafab$2sj$1@alpha.psd.k12.co.us>

Show Full Headers
Complete Article Headers
Message-ID: <6qcd2d$sn4$1@newssvr09-int.news.prodigy.com>
Subject: Re: corrupt overview information
Date: Thu, 06 Aug 1998 00:00:00 +0000
From: davidsen@tmr.com (bill davidsen)
References: <6qafab$2sj$1@alpha.psd.k12.co.us>
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: 378515755
X-Complaints-To: news@prodigy.com
X-Trace: newssvr09-int.news.prodigy.com 902412173 29412 199.4.137.118 (6 Aug 1998 14:02:53 GMT)
Organization: TMR Associates, Schenectady NY
NNTP-Posting-Date: 6 Aug 1998 14:02:53 GMT
Newsgroups: news.software.nntp
Originator: davidsen@darkstar.prodigy.com