🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #31410

Re: problems with inn 2.1

#31410
From: bill davidsen
Date: Wed, 16 Sep 1998 00:00
37 lines
2092 bytes
In article <87n280l18i.fsf@rune.tech.ftech.net>,
Robert Collier  <rune@ftech.net> wrote:

| I now run the following script after every system crash.

Just a few comments about this excellent script.

| echo -n "Counting history entries: "
| COUNT=`wc -l $PATHDB/history | awk '{ print $1 }'`
| echo $COUNT

These are fixed length records and a LARGE file, dividing the file size
by the record length is suggested.

| echo "Sorting overindex input file"
| sort -t' ' +1 -2 $PATHTMP/newindex > $PATHTMP/newindex.sorted
| 
| echo "Rebuilding overindex"
| expireindex -a -o -z < $PATHTMP/newindex.sorted

Here again, on machines with limited resources, I suggest piping the
output of the sort directly to the expireindex.

Note to AIX users: on my machines I have been unable to run expireindex
unless I mmap the overview files (in inn.conf). However, I can't
actually run the system that way, readers get probelms. This may be
related to my use of actived and running nnrpd as a daemo. Just a tip on
what worked for me...

--
bill davidsen (davidsen@tmr.com)
  "The action you see on fishing programs is something like the women
in _Playboy_. Not actually *fake*, but not remotely typical of the
average person's experience."  -me


Technical Details
Message-ID: <6toq0b$2jq4$1@newssvr04-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: <35ff7c42.579595273@news.nordwest.net> <87sohsqt77.fsf@smart.ruhr.de> <35ff8d07.583888807@news.nordwest.net> <87n280l18i.fsf@rune.tech.ftech.net>

Show Full Headers
Complete Article Headers
Message-ID: <6toq0b$2jq4$1@newssvr04-int.news.prodigy.com>
Subject: Re: problems with inn 2.1
Date: Wed, 16 Sep 1998 00:00:00 +0000
From: davidsen@tmr.com (bill davidsen)
References: <35ff7c42.579595273@news.nordwest.net> <87sohsqt77.fsf@smart.ruhr.de> <35ff8d07.583888807@news.nordwest.net> <87n280l18i.fsf@rune.tech.ftech.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: 391757390
X-Auth-User: 000000000/f338dd4bb5d99660
X-Post-Time: 16 Sep 1998 16:46:03 GMT
Organization: TMR Associates, Schenectady NY
X-Problems-To: abuse@prodigy.net
Newsgroups: news.software.nntp
Originator: davidsen@darkstar.prodigy.com