🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #18118

Re: Expire takes too much time to execute

#18118
From: 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


Technical Details
Message-ID: <5mno3l$cgl$1@flea.best.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: <338D7B5F.5B17@sarenet.es>

Show Full Headers
Complete Article Headers
Message-ID: <5mno3l$cgl$1@flea.best.net>
Subject: Re: Expire takes too much time to execute
Date: Fri, 30 May 1997 00:00:00 +0000
From: dillon@flea.best.net (Matt Dillon)
References: <338D7B5F.5B17@sarenet.es>
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: 245075564
Organization: Best Internet Communications, Inc. - 415 964 BEST
Newsgroups: news.software.nntp