🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Santiago Mercado Thu, 29 May 1997 00:00
Expire takes too much time to execute
#18095
Author: Santiago Mercado
Date: Thu, 29 May 1997 00:00
15 lines
773 bytes
Hi,
I�ve just upgrade to inn.1.51 on a Soraris2.5.1 and I have a lot of
problems with expire. It takes almost 48 hours to clean a history file
of 200M.
 
Any ideas?

Santi
___________________________
Santiago Mercado
santi@sarenet.es
SARENET SA

Re: Expire takes too much time to execute
#18074
Author: Todd Romero
Date: Thu, 29 May 1997 00:00
44 lines
1952 bytes
#1, you should run news.daily with the 'delayrm' flag
also, if your spool is spread across multiple partitions, you'll need to
modify the expirerm and the news.daily files accordingly. You can get
the info from the FAQ on what to do exactly.

#2, look in the expire.log file to see if there are any errors.
 if there is an error about not being able to allocate memory, you can
do a couple of things. Run news.daily from bash shell with the 'ulimit'
command. You can even run rc.news like that also. If you have sufficient
memory in your server, (at least 128Mb) you can rebuild the kernel with
the following...

options         "KMEMSIZE=\(16*1024*1024\)"
options         "DFLDSIZ=\(64*1024*1024\)"
options         "DFLSSIZ=\(4*1024*1024\)"
options         "MAXDSIZ=\(128*1024*1024\)"

options         CHILD_MAX=512
options         OPEN_MAX=256
options         NMBCLUSTERS=2048


#3, you can always run 'fixhist.pl' thats available around the net.

#4, if all else fails, give someone else the job of news admin. =)


Santiago Mercado wrote:
> 
> Hi,
> I�ve just upgrade to inn.1.51 on a Soraris2.5.1 and I have a lot of
> problems with expire. It takes almost 48 hours to clean a history file
> of 200M.
> 
> Any ideas?
> 
> Santi
> ___________________________
> Santiago Mercado
> santi@sarenet.es
> SARENET SA

Re: Expire takes too much time to execute
#18118
Author: Matt Dillon
Date: Fri, 30 May 1997 00:00
51 lines
2155 bytes
:In article <338D7B5F.5B17@sarenet.es>,
:Santiago Mercado  <santi@sarenet.es> wrote:
:>Hi,
:>I�ve just upgrade to inn.1.51 on a Soraris2.5.1 and I have a lot of
:>problems with expire. It takes almost 48 hours to clean a history file
:>of 200M.
:> 
:>Any ideas?
:>
:>Santi
:>___________________________
:>Santiago Mercado
:>santi@sarenet.es
:>SARENET SA

    expire is a funny program.  Make sure that you have configured INN
    to cache the history page table, i.e. that INND_DBZINCORE is set to 1.

    Then, be ABSOLUTELY sure that the kernel datasize limit is set to
    unlimited before rc.news is run, AND before any expire run.  The
    datasize limit must be *at least* 128MB.

    If the datasize limit is < 128MB when expire is run, expire will be
    unable to allocate space for the history file page table and will
    revert to seek/write/seek/write/seek/write to update the page table
    when rebuilding the history file.

    This blows up expire... rather then take 20 minutes to rebuild the
    history file, it will take 15+ hours.

    --

    You can tell if expire is running properly by looking at it's 
    SIZ/RSS ... if the process size is less then 30MB or so (for a normal
    300MB-odd sized history file), it probably ISN'T caching the history
    file in-core.

    For example, on our machines:

    8 18004 18003 210  80  0 68272 36084 -      R     ??    1:58.96 expire -v1 -z/var/log/usenet/expire.rm
				^^^^^
				68MB SIZ,
				36MB RSS

				check, everything is working properly.

						-Matt


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