🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #5978

FIXED (interestingly!) -- Re: Slow expire, what can I do? INN-1.4unoff3

#5978
From: James Youngman
Date: Mon, 25 Mar 1996 00:00
33 lines
1936 bytes
In article <4iu36e$dh7@halon.vggas.com>, JYoungman@vggas.com (that's 
me!) says...
>My expire from news.daily is very slow.  What can I do.  Should I use 
>expirerm?  By slow, I mean I haven't run news.daily in about 4 days 
>(permisisons problem on news.daily itself) and now that I am, it's
>so far taken about 24 hours (but only 23 minutes of CPU time).


Switching to delayrm did not help.

I was told that this was because I had my whole spool on one 4Gb SCSI 
drive and that the controller I was using (NCR 53c8xx) was "slow".  That's
as maybe but I'd still expect my spool to expire in under 12 hours!

The problem turned out to be the size of /tmp (which had only 5Mb free).
The expire.rm file is sorted with "sort -o" and since my expire.rm is 12Mb,
the sort failed, and "fastrm" was fed an **unsorted** list of files.

This doesn't generate an error message from "fastrm" even if -e is specified, 
because sort -o doesn't truncate the output file if it fails (rightly I 
think).

Solution: force "sort" to use another directory for temporary files.  For 
my system sort, this is done with the -T option (my /var/tmp is 200Mb).

A small amount of recoding in news.daily would get around this behaviour
for "sort".

James Youngman
VG Gas Analysis Systems


Technical Details
Message-ID: <4j6rh7$iae@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: <4iu36e$dh7@halon.vggas.com>

Show Full Headers
Complete Article Headers
Message-ID: <4j6rh7$iae@halon.vggas.com>
Subject: FIXED (interestingly!) -- Re: Slow expire, what can I do? INN-1.4unoff3
Date: Mon, 25 Mar 1996 00:00:00 +0000
From: JYoungman@vggas.com (James Youngman)
References: <4iu36e$dh7@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
X-Deja-AN: 144093001
Content-type: Text/Plain; charset=US-ASCII
Organization: VG Gas Analysis Systems
Mime-version: 1.0
Newsgroups: news.software.nntp