Thread View: news.software.nntp
5 messages
5 total messages
Started by Franck Bouteiller
Tue, 17 Feb 1998 00:00
HELP: INN Expire is slooooooow
Author: Franck Bouteiller
Date: Tue, 17 Feb 1998 00:00
Date: Tue, 17 Feb 1998 00:00
16 lines
1067 bytes
1067 bytes
Lately, I �ve got problems with INN expire which takes to long time (6 to 12 hours) to process. In the meanwhile, there no posting (Server throttled). I 'm using fastrm as well but it's still to slow. INN version 1.4unoff4 UNIX system: Solaris 5.1.1 Sparc storage array: stripe 12Gb Flow diary: 1.5Gb All comments on how to improve this process will be very appreciated and very welcomed. Many thanks.
Re: HELP: INN Expire is slooooooow
Author: James Youngman
Date: Tue, 17 Feb 1998 00:00
Date: Tue, 17 Feb 1998 00:00
12 lines
1014 bytes
1014 bytes
>>>>> "Franck" == Franck Bouteiller <franck.bouteiller@servicom.es> writes: Franck> Lately, I �ve got problems with INN expire which takes to Franck> long time (6 to 12 hours) to process. In the meanwhile, Franck> there no posting (Server throttled). I 'm using fastrm as Franck> well but it's still to slow. Are you sure that the list which is fastrm's input is correctly sorted?
Re: HELP: INN Expire is slooooooow
Author: Larry Rosenman
Date: Tue, 17 Feb 1998 00:00
Date: Tue, 17 Feb 1998 00:00
30 lines
1469 bytes
1469 bytes
Modify news.daily to include RENUMBER=0 so that the renumber is done in steps also make sure delayrm and expireover are set. In article <34E972AD.5F8@servicom.es>, Franck Bouteiller <franck.bouteiller@servicom.es> wrote: >Lately, I �ve got problems with INN expire which takes to long time (6 >to 12 hours) to process. In the meanwhile, there no posting (Server >throttled). I 'm using fastrm as well but it's still to slow. > >INN version 1.4unoff4 >UNIX system: Solaris 5.1.1 >Sparc storage array: stripe 12Gb >Flow diary: 1.5Gb > >All comments on how to improve this process will be very appreciated and >very welcomed. > >Many thanks. -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-399-0210 (voice) Internet: ler@lerctr.org US Mail: 900 Lake Isle Circle, Irving, TX 75060-7726
Re: HELP: INN Expire is slooooooow
Author: Matthew S. Dwyer
Date: Wed, 18 Feb 1998 00:00
Date: Wed, 18 Feb 1998 00:00
30 lines
1601 bytes
1601 bytes
Franck Bouteiller (franck.bouteiller@servicom.es) wrote: : Lately, I �ve got problems with INN expire which takes to long time (6 : to 12 hours) to process. In the meanwhile, there no posting (Server : throttled). I 'm using fastrm as well but it's still to slow. : INN version 1.4unoff4 : UNIX system: Solaris 5.1.1 : Sparc storage array: stripe 12Gb : Flow diary: 1.5Gb : All comments on how to improve this process will be very appreciated and : very welcomed. : Many thanks. On Solaris 5.1.1, I've turned off delayed I/O using fastfs and have seen a tremendous improvement in expire times and general news performance. It has reduced 12+hours expire time down to about 4-5. The downside to fastfs is if your server crashes, you could lose some articles and will probably have to run fsck manually. Since our server has only crashed twice in 2 years, it's not much of a concern considering the improved performance. Search for fastfs.c w/archie. Matthew Dwyer Senior System Administrator Dreamscape Online, LLC.
Re: HELP: INN Expire is slooooooow
Author: Frank Durda IV
Date: Fri, 20 Feb 1998 00:00
Date: Fri, 20 Feb 1998 00:00
51 lines
3378 bytes
3378 bytes
Franck Bouteiller wrote:
> Lately, I �ve got problems with INN expire which takes to long time (6
> to 12 hours) to process. In the meanwhile, there no posting (Server
> throttled). I 'm using fastrm as well but it's still to slow.
Determine which phase it is spending all of its time in. If it is
running the expire executable (as verified by ps) for huge amounts of
clock time and you are using delayrm, then the probable problem is
that your datasize limit for the expire process is too small. When
too small, the history.pag rebuilding code does everything on disk
instead of in memory, making it a hundred times (or more) slower
than it should be.
The DBZ code (or DBM for that matter) has this nasty habit of writing
and re-writing the same blocks over and over as it adds entries and
many OSes (such as DEC OSF1 on UFS filesystems) don't deal with this
well, filling all UBC with multiple copies of the same dirty block
until no memory is left, then writing them all out at once, blocking
all disk reads in the meantime. (No disksort in the OSF1 strategy code,
by the way.)
As "news" (or whatever user the news.daily script runs as on your
system), type limit (in csh) and compare if the datasize number is
smaller by 20% than the size of history.pag. (Example,
datasize = 65535 kbytes and your history.pag file is 250194584 bytes
(as an example), then your datasize is too small and expire will
crawl, while violently churning your disk drives.
If the datasize is too small, add a step to your expire script to set
the limit much larger ( at least 1.2X history.pag size) before the
expire executable runs. (If you are on FreeBSD, you may need to
visit the /etc/login.conf file and make datasize changes there too.)
Note: if your system does not have at least 1.2X the size of your
history.pag file in RAM, you need to make sure you have at least
2X the size of your history.pag file in SWAP and consider buying
more RAM and/or reducing the "remember" setting in expire.ctl.
The latter may eventually yield a smaller history.pag file.
Making sure expire can build the new history.pag file in memory will
make expire run many many times faster.
Frank Durda IV - only these addresses work:|"I'll get you, you cursed brat,
<uhclem.argv%nemesis.lonestar.org> | and your mangy CLEC too!"
| - The wicked telco witch of
These Anti-spam addresses expire Mar. 31st | the SouthWest
(c) 1998, ask before reprinting.
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