Article View: news.software.nntp
Article #21233Re: INN 1.5.1 performance on Solaris 2.5.1
From: Michael Hucka
Date: Tue, 02 Sep 1997 00:00
Date: Tue, 02 Sep 1997 00:00
44 lines
2815 bytes
2815 bytes
>>>>> On 31 Aug 1997, Schuyler Bishop <schuyler@perseus.utelfla.com> wrote:
schuyler> As for the cancel, check this out:
schuyler> news@hathor:>ls -ld cancel drwxrwxr-x 2 news news 7378944 Aug 31
schuyler> 19:53 cancel
schuyler> Wow. rm -r even chokes on it. I take it the size is pretty
schuyler> abnormal? I did an ls | wc and got about 317,000 articles... I'm
schuyler> gonna work on deleting them and see if that helps any...
Not abnormal, these days, but definitely an impediment to good performance.
There has been a lot of discussion on n.s.n. about this problem.
If you do not feed other sites, then you may want to take the approach of
mv'ing the directory to another name and then rm'ing it every hour or so out
of cron. Do this only if you don't have peers which rely mostly on you for
their news, since deleting the control messages this way means that most of
them won't get propagated to your peers.
A better (IMHO) approach is to use one of the two patches offered by others
for this problem. One is Joe Greco's patch for changing how cancel messages
are stored on the disk. You can get it from
http://www.nntp.sol.net/patches/
I use this here, but I must warn you about one problem I'm having: the cancel
control messages are not getting expired. Right now I'm manually going in
and deleting bunches of them every couple of days. I *think* I know what the
problem is, and want to make suitable changes to the patch so that expiration
will happen normally. But I haven't had time yet.
The other patch is a more general patch that uses the same idea. It changes
the directory structure used by INN for all articles. It was posted to
n.s.n. by Heiko Rupp on 18 July 1997; you can probably find a copy through
DejaNews, or else mail me and I'll send you a copy.
--
Mike Hucka hucka@umich.edu http://www.eecs.umich.edu/~hucka University
PhD to be, computational models of human visual processing (AI Lab) of
UNIX systems administrator & programmer/analyst (EECS DCO) Michigan
Technical Details
Message-ID:
<82d8ms4675.fsf@parrot.eecs.umich.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-mailReferences:
<34098F81.8F81A0C1@perseus.utelfla.com> <5uc9fa$7ir$1@verdi.nethelp.no> <340A0A11.74FD9C9D@perseus.utelfla.com>Show Full Headers
Complete Article Headers
Message-ID: <82d8ms4675.fsf@parrot.eecs.umich.edu> Subject: Re: INN 1.5.1 performance on Solaris 2.5.1 Date: Tue, 02 Sep 1997 00:00:00 +0000 From: Michael Hucka <hucka@eecs.umich.edu> References: <34098F81.8F81A0C1@perseus.utelfla.com> <5uc9fa$7ir$1@verdi.nethelp.no> <340A0A11.74FD9C9D@perseus.utelfla.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: 269492361 To: Schuyler Bishop <schuyler@perseus.utelfla.com> Organization: University of Michigan EECS, Ann Arbor, Mich., USA Newsgroups: news.software.nntp