🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16770

Re: Expire still takes days!

#16770
From: Alec H. Peterson
Date: Mon, 07 Apr 1997 00:00
38 lines
2471 bytes
In article <Pine.SOL.3.91.970407014245.13428A-100000@ux4.cso.uiuc.edu>,
Kueh, Anthony <kueh@students.uiuc.edu> wrote:
>I still can't figure this out. I have a news server running Linux 2.0.29 
>with INN 1.5.1. The system is a Pentium 166 with 64 megs ram. I have 
>/var/lib, /var/spool, /var/log each on its own disk, and /var/spool is 
>actually a stripe set of disks using the MD driver in Linux. During 
>the nightly news.daily, it still takes forever! I am using delayrm and 
>assigning EXPDIR to /tmp, which is also its own disk.
>
>I had rebuilt the system from scratch, and the server seems to be running 
>well when the history file was small. (Only about 2-3 days of history).. 
>With that, it usually expired within 30-40 minutes.. but when the history 
>file starts to get big, (now it's about 10 days, at about 190 megs), the 
>system almost never finishes. I always end-up just killing the process 
>after 2 or 3 days.
>
>Does anyone have ANY idea what might be causing this? By the way, I am 
>running Redhat 4.1 with the INND 1.5.1 RPM.

Yes, several.

Try using the -z option to expire (I believe it's the delayrm option
to news.daily).  When you do that, make sure you sort the output file
before passing it to expirerm, that way things will go _much_ faster.
If you have your spool all on one disk (or virtual disk), you can also
pass fastrm another option that will tell it to use relative
references when doing a chdir().

Alec

-- 
+------------------------------------+--------------------------------------+
|Alec Peterson - ahp@hilander.com    | Erols Internet Services, INC.        |
|Network Engineer                    | Springfield, VA.                     |
+------------------------------------+--------------------------------------+

Technical Details
Message-ID: <5iaupp$n2q$1@kurgan.hilander.com>
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: <Pine.SOL.3.91.970407014245.13428A-100000@ux4.cso.uiuc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <5iaupp$n2q$1@kurgan.hilander.com>
Subject: Re: Expire still takes days!
Date: Mon, 07 Apr 1997 00:00:00 +0000
From: ahp@hilander.com (Alec H. Peterson)
References: <Pine.SOL.3.91.970407014245.13428A-100000@ux4.cso.uiuc.edu>
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: 231299089
Distribution: inet
Sender: chuckie@kurgan.hilander.com
Organization: Erols Internet Services
X-Received-On: 7 Apr 1997 10:02:54 GMT
Newsgroups: news.software.nntp