🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #7555

Re: Inn 1.4 Unoff4 Speedup

#7555
From: Marc G. Fournier
Date: Mon, 13 May 1996 00:00
59 lines
3049 bytes
paulb@apana.org.au (Paul Black) writes:

>Marc G. Fournier (scrappy@freebsd.ki.net) wrote:
>: paulb@apana.org.au (Paul Black) writes:
>: 
>: >The expire processing seems to take about 6 hours which seems to be way too
>: >long. If anyone could give me some tips on how to speed up expiry it
>: >would be appreciated. Any other tips on performance would be very good too.
>: 
>: 
>: 	How much memory do you have on that machine?  How many clients
>: reading news?  When do you perform the expire?  How many incoming and
>: outgoing feeds?

>The machine is a DX4-100 with 32 Mbytes of RAM, We are batching feeds out 
>to about 6 other machines, plus about 3 or 4 sites which use this machine
>as their news server. The expire is performed at 10 am when a lot of 
>people are at work. There are 2 main incoming feeds each with a V.34 modem
>link. We are receiving around 80,000 - 100,000 articles per day. Does
>this help?

	Well, you are running the same machine as myself, close to the
same number of articles per day...what is your expire on groups? what
is your remember level set at for history file?

	Right now, I'm running expire at 3am, so that all my systems
are at their quiets, have 5 in/out news feeds...my remember is set
at only 7, but will most likely increase that back up to 14 yet, but my
expire times right now are running at between 1 and 2 hrs.

	Whether it helped particularly or not, I have been unable to
test, but the most recent suggestion towards reducing expire times is
to change expire.c so that:

#define NGH_SIZE        128

	becomes:

#define NGH_SIZE        2048

	some have even tried 8192, but Idon't know what exactly
this affects, or whether there is a simple method to determine what
that value can/should be.

	Oh, one other major thing, how are you running news.daily?
Are you running it as 'news.daily delayrm'?  That tends to greatly
boost the speed of expiry, as it forces the expire program to
concentrate its activities on processing the history file, while
creating an 'expire' list of articles to delete after the history
file is finished.

-- 
Marc G. Fournier | POP Mail  Telnet Acct  DNS Hosting
System           |  WWW Services   Database Services  | Knowledge, 
  Administrator  |                                    | Information and
 scrappy@ki.net  |      WWW: http://www.ki.net        | Communications, Inc

Technical Details
Message-ID: <4n8rg6$nj1@freebsd.ki.net>
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
References: <4n34og$b8p@iggy.apana.org.au> <4n39b9$cpn@freebsd.ki.net> <4n6tic$2dv@iggy.apana.org.au>

Show Full Headers
Complete Article Headers
Message-ID: <4n8rg6$nj1@freebsd.ki.net>
Subject: Re: Inn 1.4 Unoff4 Speedup
Date: Mon, 13 May 1996 00:00:00 +0000
From: scrappy@freebsd.ki.net (Marc G. Fournier)
References: <4n34og$b8p@iggy.apana.org.au> <4n39b9$cpn@freebsd.ki.net> <4n6tic$2dv@iggy.apana.org.au>
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: 154682782
Organization: Knowledge, Information and Communications, Inc (ki.net)
Newsgroups: news.software.nntp