🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #30451

Help! Makehistory doesn't

#30451
From: Robert Collier
Date: Wed, 12 Aug 1998 00:00
68 lines
3179 bytes
Help!

My customer server has now been down for nearly 6 hours and I can't
resusitate the overviews!

Running Inn 2.0 on a PII 512Mb memory linux 2.0.35 system.

After some system crashes in recent weeks I've been seeing major
corruption of the overviews so I decided to bite the bullet, take the
server down, and rebuild the history+overviews.

So I tried:

makehistory -O -I /news/spool/tmp/newover -T /news/spool/tmp -v
Usage: makehistory [ -A file ][ -a file ][ -b ][ -D traditional_spooldir ][ -d overdir ][ -f file ][ -h oldhistory ][ -I indexfile ][ -i ][ -n ][ -O ][ -o ][ -T dir ][ -t {H|h|S|s} ][ -v ][ -f file ][ -R ][ -r ][ -S ][ -s size ][ -U ][ -u ]

first problem: makehistory doesn't like -v anymore.

So I tried makehistory -O -I /news/spool/tmp/newover -T /news/spool/tmp

This seemed to work, for about 40 minutes it ate CPU and wrote to it's
temporary files. Then it stopped writing to the files and continued to
eat CPU. I kiled it after 85minutes of CPU time with no files
accessed.

Then I straced this process to find out what was going on:

[news@ayers /news]$ strace -o /tmp/trace makehistory -O -I /news/spool/tmp/newover -T /news/spool/tmp

Lots of output for the first while, and then it ground to a stop at:

lseek(36, 717341696, SEEK_SET)          = 717341696
read(36, "he area code", 12)            = 12
lseek(36, 717342720, SEEK_SET)          = 717342720
read(36, "\0\0\5\2465\317\306\241\0\0\0\0", 12) = 12
read(36, "From: \"SRSIMS\" <smoran@msn.com"..., 1446) = 1446
lseek(36, 717344768, SEEK_SET)          = 717344768
read(36, "t alt.suppor", 12)            = 12

The makehistory process has been running for 50minutes since that last
bit of output - at 99% cpu usage.

What the hell is going on? All I want to do is fix a corrupt overview
for fscks sake?

*sigh* I've been beating my head against a wall with simmilar problems
for a couple of weeks now.

History file is non-tagged, and uses extendeddbz. Unioverview is split
accross 27 files. (mainly by a* b* etc...)

Thanks in advance for any help.

[note - please cc any replies to rune@ftech.net as I can't actualy
read this group until the problem is fixed :( ]

	- Rob.

-- 
   Robert Collier   -   Network  Operations   -   Frontier Internet
   ----------------------------------------------------------------
   Disclaimer: The views contained herein may not reflect the views
      of my employer and reliance should not be placed thereon.   




Technical Details
Message-ID: <6qsaug$hre$1@library.lspace.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.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <6qsaug$hre$1@library.lspace.org>
Subject: Help! Makehistory doesn't
Date: Wed, 12 Aug 1998 00:00:00 +0000
From: rune@ftech.net (Robert Collier)
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: 380419757
Sender: rob@library.lspace.org
X-Complaints-To: abuse@lspace.org
X-Trace: library.lspace.org 902934288 18287 195.200.1.58 (12 Aug 1998 15:04:48 GMT)
Organization: BNAFH
NNTP-Posting-Date: 12 Aug 1998 15:04:48 GMT
Newsgroups: news.software.nntp