🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Bud Rogers Fri, 05 Jul 1996 00:00
Help: expire runs forever...
#9057
Author: Bud Rogers
Date: Fri, 05 Jul 1996 00:00
49 lines
2438 bytes
Can someone help a news novice?  I've been managing our news server
for about 3 months now.  I thought I had things levelled out and
running pretty smoothly.  I thought I was beginning to understand how
INN worked, and how things fit together.  Then about 10 days ago,
something changed.  

My news.daily process had been running to completion typically in
about 2 hours.  Now news.daily gets to the point where sed and expire
are running, and then never seems to finish those 2 processes.  I've
let it run literally for days just to see if it would finish and it
never does.

My system:

INN 1.4
Linux 1.2.13
P75
32 megs mem
16 megs swap
/ mounted on a small IDE
/usr on a 2Gig scsi (including /usr/lib/news and /usr/spool/news)
/usr/spool/news/alt/binaries on a 2nd 2Gig scsi

With 32 megs, the system runs partially in swap, but it did that
before I started having this problem.  I imagine more memory would
improve performance, but I don't think that's the problem -- or at
least not the only problem.

I've noticed that one or both of the scsi's (can't tell which for
sure) thrash mightily while expire is running -- is that normal, or is
that a clue?

I tried uncommenting the line in news.daily which throttles the
server, and expire bailed out complaining that it couldn't reserve the
server.  I've tried waiting until expire was running and then manually
throttling the server.  Didn't help.

I've tried makehistory, and Dave Barr's fixhist.pl script, thinking my
history file might have gotten corrupted.  Didn't help.

I've read Heiko Rupp's FAQ's.  I've read all the docs I can find that
came with the INN package.  I've been following this group for 2 or 3
months now.  I'm stumped - I'd appreciate any suggestions.
--
Bud Rogers <budr@tanet.net>     http://www.tanet.net/~budr
Linux sysadmin in training -- all advice appreciated.

Re: Help: expire runs forever...
#9041
Author: Butch Kemper
Date: Fri, 05 Jul 1996 00:00
36 lines
2124 bytes
In article <31dc8844.81893@news.tanet.net>, budr@tanet.net wrote:

> My news.daily process had been running to completion typically in
> about 2 hours.  Now news.daily gets to the point where sed and expire
> are running, and then never seems to finish those 2 processes.  I've
> let it run literally for days just to see if it would finish and it
> never does.

If you haven't added the "delayrm" option to the cron entry that invokes
news.daily, I would suggest that you do it.  This will speed up news.daily
because:

     � The history database and the article removal processes are
       separated.

     � Article removal is done with fastrm which is significantly quicker
       that letting expire remove the articles on-a-a time.

     � The innd process is only paused for the short time required to 
       rebuild the history database.  Without delayrm, innd is paused
       until the expire process is completed.

On my system, the history database rebuild takes 19-15 minutes and the
article removal with fastrm takes 2-3 hours.  The news spool has 4 volumes
on two scsi controllers, 600-800K articles on the spools, expires 100-150K
articles each run, and 1,000K entries in the history database.

I hope this help.

-- 
Butch Kemper                         |  Free sound advice available
Brazos Information Highway Services  |  "95% sound and 5% advice"
409-693-9336                         |  Refunds cheerfully provided

Re: Help: expire runs forever...
#9050
Author: James Youngman
Date: Fri, 05 Jul 1996 00:00
10 lines
907 bytes
This often happens when the fastrm input list is unsorted because /tmp
 wasn't big enough.  The problem is even worse with expireover.  Adding
a -T option to the sort command in news.daily or setting TMPDIR often helps.

You could even mount a bigger filesystem on /tmp.



Re: Help: expire runs forever...
#9051
Author: Doug McNaught
Date: Fri, 05 Jul 1996 00:00
47 lines
2442 bytes
-----BEGIN PGP SIGNED MESSAGE-----

[mailed and posted]

budr@tanet.net (Bud Rogers) writes:

> Can someone help a news novice?  I've been managing our news server
> for about 3 months now.  I thought I had things levelled out and
> running pretty smoothly.  I thought I was beginning to understand how
> INN worked, and how things fit together.  Then about 10 days ago,
> something changed.  
> 
> My news.daily process had been running to completion typically in
> about 2 hours.  Now news.daily gets to the point where sed and expire
> are running, and then never seems to finish those 2 processes.  I've
> let it run literally for days just to see if it would finish and it
> never does.

One possibility: do you have WANT_TRASH turned on in your INN config
file? I forgot to turn it off when I first set up INN on Linux, and
after a while it slowed down horribly because it was filing all
unwanted articles in junk, which had tens of thousands of files in
it. Directory searches take a long time with that many entries, and
it really choked INN. I recompiled with WANT_TRASH set to DONT, and
nuked the junk directory, and things went swimmingly after that.

- -Doug

- -- 
Doug McNaught       Systems Integrator        Towson State University
Internet: doug@midget.towson.edu    *or*    mcnaught-d@toe.towson.edu
BITNET:   e7opdam@towsonvx           Office: Cook 28D, (410) 830-4148
            WWW Home Page: http://www.towson.edu/~doug/ 

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBMd1WuBzGHDts1K8JAQGFFAP/fKbeKgyS36arDHV+gdtZxlloPvpt3jhb
1W7lYxKLdShDdpnKVKW3zVAFh1A7CEXISx+4RIy2Z2DmPeZX3w1KLud+88LwBG2n
AhC4YUZ8C1/W9h0l5X5zwgc3KMD7wsy8hINyg0i01DQM7MZpsQULe1AX3ecl8ObX
oORF4nPbojI=
=blm5
-----END PGP SIGNATURE-----

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