Thread View: news.software.nntp
2 messages
2 total messages
Started by Robert Collier
Wed, 12 Aug 1998 00:00
Help! Makehistory doesn't
Author: Robert Collier
Date: Wed, 12 Aug 1998 00:00
Date: Wed, 12 Aug 1998 00:00
68 lines
3179 bytes
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.
Re: Help! Makehistory doesn't
Author: Stuart Sheldon
Date: Sat, 15 Aug 1998 00:00
Date: Sat, 15 Aug 1998 00:00
84 lines
3369 bytes
3369 bytes
Try this:
../bin/makehistory -i
../bin/makehistoty -r
../bin/makehistory -f history
It worked for me...
Robert Collier wrote in message <6qsaug$hre$1@library.lspace.org>...
>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
raditional_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.
>
>
>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads