🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16829

Re: Expire still takes days!

#16829
From: James Youngman
Date: Tue, 08 Apr 1997 00:00
40 lines
2297 bytes
In article <Pine.SOL.3.91.970407014245.13428A-100000@ux4.cso.uiuc.edu>, 
kueh@students.uiuc.edu says...
>
>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.

Make sure that partition is big enough.  Also, check that the sort of expire.rm 
is successful.   If not, an unsorted list is used and that takes ages.  It'd be 
helpful to know what phase of operation is taking all this time.   If you could 
post the relevant sections of the oputput of "pstree -l -a" that would be 
great.

>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.

This is definitely too long!   When you post the pstree argument could you also 
post the full news.daily command line you're using and the output of 

df
source  /usr/lib/news/innshellvars
echo $TMPDIR $SORT

Thanks.

-- 
James Youngman       VG Gas Analysis Systems  The trouble with the rat-race 
Before sending advertising material, read     is, even if you win, you're 
http://www.law.cornell.edu/uscode/47/227.html         still a rat.


Technical Details
Message-ID: <5id2fd$mqp$1@halon.vggas.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: <5id2fd$mqp$1@halon.vggas.com>
Subject: Re: Expire still takes days!
Date: Tue, 08 Apr 1997 00:00:00 +0000
From: JYoungman@vggas.com (James Youngman)
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: 231511576
Organization: VG Gas Analysis Systems
Newsgroups: news.software.nntp