Thread View: news.software.nntp
5 messages
5 total messages
Started by Paul Black
Mon, 14 Jul 1997 00:00
Very Slow Expire
Author: Paul Black
Date: Mon, 14 Jul 1997 00:00
Date: Mon, 14 Jul 1997 00:00
21 lines
1393 bytes
1393 bytes
I'm having problems with a news server which is taking a long time to run its nightly expire process (around 6 - 8 hours). The news server is using 12 GB of disk and is fed by a 64K ISDN link. The processor is a cyrix 200. The inn version is 1.5.1 and is the redhat 4.2 binary. I've checked that it is compiled with mmap, unix domain comms, .overview in its own directory and am trying reducing the keeping of history data to two days. The expire process seems to only use a little cpu and keeps running for a long elapsed time, the disk in use light suggests the disks are busy all the time. The machine is not swapping (128 MB RAM). I would greatly appreciate any suggestions on how to get this inn server running a bit better. Could you please reply by mail as the poor performance of the news server is stopping me from getting a lot of news. Cheers... Paul
Re: Very Slow Expire
Author: Avi Freedman
Date: Mon, 14 Jul 1997 00:00
Date: Mon, 14 Jul 1997 00:00
27 lines
1630 bytes
1630 bytes
Paul Black (paulb@iggy.triode.net.au) wrote: : I'm having problems with a news server which is taking a long time to run : its nightly expire process (around 6 - 8 hours). The news server is using : 12 GB of disk and is fed by a 64K ISDN link. The processor is a cyrix 200. : : The inn version is 1.5.1 and is the redhat 4.2 binary. I've checked that : it is compiled with mmap, unix domain comms, .overview in its own : directory and am trying reducing the keeping of history data to two days. : : The expire process seems to only use a little cpu and keeps running for a : long elapsed time, the disk in use light suggests the disks are busy all : the time. The machine is not swapping (128 MB RAM). : : I would greatly appreciate any suggestions on how to get this inn server : running a bit better. Could you please reply by mail as the poor : performance of the news server is stopping me from getting a lot of news. : : Cheers... Paul Do an 'echo * | wc' in /news/control/cancel. How many articles do you have there? Avi
Re: Very Slow Expire
Author: Ross Alexander
Date: Mon, 14 Jul 1997 00:00
Date: Mon, 14 Jul 1997 00:00
46 lines
2279 bytes
2279 bytes
Paul Black <paulb@iggy.triode.net.au> writes:
>The inn version is 1.5.1 and is the redhat 4.2 binary. I've checked that
[...]
>The expire process seems to only use a little cpu and keeps running for a
>long elapsed time, the disk in use light suggests the disks are busy all
>the time. The machine is not swapping (128 MB RAM).
Try passing through the top-level CFLAGS on the line in
$INNSOURCE/expire/Makefile that creates the dbz module. I did this,
and my expire times dropped from 13 hours to ten minutes. Here's a
context diff:
*** Makefile Tue Jul 1 16:34:06 1997
--- Makefile~ Thu May 29 17:58:08 1997
***************
*** 97,103 ****
# any -DMMAP in DBZCFLAGS - using mmap() for dbz in expire can slow it
# down really bad, and has no benefits as it pertains to the *new*
../include/dbz.h:
(cd ../lib ; $(MAKE) ../include/dbz.h)
--- 97,103 ----
# any -DMMAP in DBZCFLAGS - using mmap() for dbz in expire can slow it
# down really bad, and has no benefits as it pertains to the *new* .pag.
dbz.o: ../lib/dbz.c
! $(CC) $(CFLAGS) -c ../lib/dbz.c
../include/dbz.h:
(cd ../lib ; $(MAKE) ../include/dbz.h)
What's really wierd is that this is the exact opposite of what all the
comments talk about. I'm running inn 1.5.1 (plus a few patches) under
BSDi 2.1 patchlevel 27 on a p5/133 machine with a SCSI disk farm; we
take about 140k articles a day.
regards,
Ross
--
R x e v d - ( ) 5 1 - r c t a u read .sig text
o A a r e q - 4 1 - w s h s . top to bottom &
s l n , 6 0 6 6 a . a c c left to right,
s e d p 3 7 3 @ a b a a thanks.
Re: Very Slow Expire
Author: Jerry Aguirre
Date: Tue, 15 Jul 1997 00:00
Date: Tue, 15 Jul 1997 00:00
19 lines
1307 bytes
1307 bytes
In article <5qda1n$7lc@netaxs.com>, Avi Freedman <freedman@netaxs.com> wrote: >Paul Black (paulb@iggy.triode.net.au) wrote: > >Do an 'echo * | wc' in /news/control/cancel. >How many articles do you have there? Bad idea! Using normal "ls" or "echo *" results in it sorting the output which can add considerably to the time. Run "ls -f | wc -l". The "ls -f" will just read the directory and output each entry. Thus your time is linear according to the directory size. But control being big should not make a difference to expire time assuming your using delayrm. Expire won't care how big the directory is. Later the fastrm will have some additional overhead dealing with large directories.
Re: Very Slow Expire
Author: Pauline Middelink
Date: Thu, 24 Jul 1997 00:00
Date: Thu, 24 Jul 1997 00:00
29 lines
1614 bytes
1614 bytes
Ross Alexander <rwa@cs.athabascau.ca> wrote in article <5qdojn$vr$1@aurora.cs.athabascau.ca>... > Paul Black <paulb@iggy.triode.net.au> writes: > > >The inn version is 1.5.1 and is the redhat 4.2 binary. I've checked that > [...] > >The expire process seems to only use a little cpu and keeps running for a > >long elapsed time, the disk in use light suggests the disks are busy all > >the time. The machine is not swapping (128 MB RAM). > > Try passing through the top-level CFLAGS on the line in > $INNSOURCE/expire/Makefile that creates the dbz module. I did this, > and my expire times dropped from 13 hours to ten minutes. Here's a > context diff: [snip] You might check first if it's expire itself which is running so slow, or just the disks beeing trashed to death. If there is an expire.log with the normal counters than there is no problem with the expire itself but with the disks beeing to slow or you have might have an trashing cache. Add more memory :) Cheers! Pauline Middelink
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