🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #29282

Expire process taking 20 hours to complete!

#29282
From: Joel Turoff
Date: Mon, 22 Jun 1998 00:00
77 lines
3158 bytes
Greetings!

I'm hoping that someone on this list can help me figure out why expire
is taking so long to run on our server.

Basically, we recently upgraded to BSD/OS 3.1 and started striping
drives.  We've got 4 drives striped for a total of 16 gigs for the
news spool.  We are running version 1.7.2 of innd.

The system is a Pentium 166 with 128 Megs of RAM.  It ran pretty well
under BSD/OS 2.1 with the news partition split over two four gig
drives, but once we upgraded and spliced the disks, expire started
taking longer and longer to complete.  It is now taking upwards of
15-20 hours to complete, which means the server is practically
expiring all of the time.

The history file is larger than 141 megs.  I've seen a lot of posts
about expire having problems with BSD/OS but haven't found the actual
explanation of what the problem is and more importantly, how to fix
it.  In the past, I've seen issues with expire dying before it
finishes, but in this case, expire runs to completion, but it is
taking longer and longer with each passing day.  And when the server
is in the process of expiring, it is extremely slow.

I do not believe we have the server configured to do overviews.  (I'll
include various config files at the bottom).  

I am running the expire program through the news.daily script which is
running from cron every night at 1:00 a.m.   I've got it set to
remember for 14 days and to expire everything after 14 days.  I'm not
certain whether we should hunt for news groups with a large number of
articles (binaries, warez, etc.) and just give them a lower expire
time.  

Is it necessary to run the news.daily script with some sort of wrapper
that removes all of the system limits?  I've seen this as the solution
when expire dies with remalloc errors, and I'm wondering if this would
help. 

What is the best strategy for configuring the server to run the expire
process quickly and efficiently?

I'd appreciate any insight into resolving this problem.  Thanks in
advance.

Joel

Here are some of our config files:

--------------------------------------------------------------------------------------
expire.ctl:

/remember/:14
*:A:14:14:14

-__________________________________________

newsfeeds:

ME\
        :*,@alt.binaries.warez.*,!junk,!control*,!local*,!foo.*\

/world,usa,na,gnu,bionet,pubnet,u3b,eunet,vmsnet,inet,ddn,k12\
        ::

newsfeed.internetmci.com/news-out.internetmci.com,news.internetMCI.com\
        :*,!junk,!wlink*,!local*,!control*\
        :Tf,Wnm:

____________________________________________





Technical Details
Message-ID: <358e4d70.2765542049@news.w-link.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

Show Full Headers
Complete Article Headers
Message-ID: <358e4d70.2765542049@news.w-link.net>
Subject: Expire process taking 20 hours to complete!
Date: Mon, 22 Jun 1998 00:00:00 +0000
From: turoff@disaster.com (Joel Turoff)
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: 365038118
Organization: World Link Internet Access Providers
Newsgroups: news.software.nntp