Article View: news.software.nntp
Article #19293Re: Very Slow Expire
From: Jerry Aguirre
Date: Tue, 15 Jul 1997 00:00
Date: Tue, 15 Jul 1997 00:00
19 lines
1307 bytes
1307 bytes
In article <5qda1n$7lc@netaxs.com>, Avi Freedman <freedman@netaxs.com> wrote: >Paul Black (paulb@iggy.triode.net.au) wrote: > >Do an 'echo * | wc' in /news/control/cancel. >How many articles do you have there? Bad idea! Using normal "ls" or "echo *" results in it sorting the output which can add considerably to the time. Run "ls -f | wc -l". The "ls -f" will just read the directory and output each entry. Thus your time is linear according to the directory size. But control being big should not make a difference to expire time assuming your using delayrm. Expire won't care how big the directory is. Later the fastrm will have some additional overhead dealing with large directories.
Technical Details
Message-ID:
<5qgv68$g19$1@pluto.whowhere.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-mailReferences:
<5qcts1$qpi@hyperion.triode.net.au> <5qda1n$7lc@netaxs.com>Show Full Headers
Complete Article Headers
Message-ID: <5qgv68$g19$1@pluto.whowhere.com> Subject: Re: Very Slow Expire Date: Tue, 15 Jul 1997 00:00:00 +0000 From: jerry@rigel.whowhere.com (Jerry Aguirre) References: <5qcts1$qpi@hyperion.triode.net.au> <5qda1n$7lc@netaxs.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: 257641265 Distribution: inet Organization: WhoWhere?; Mt. View, CA USA Newsgroups: news.software.nntp