Article View: news.software.nntp
Article #21444Re: Articles not being removed
From: Jerry Aguirre
Date: Thu, 11 Sep 1997 00:00
Date: Thu, 11 Sep 1997 00:00
19 lines
1442 bytes
1442 bytes
In article <5us89s$rrp$1@samba.rahul.net>, Rahul Dhesi <c.c.eiftj@87.usenet.us.com> wrote: > find `cat List` -type f -mtime +60 -print | bsort | xargs rm -f The output of find is already in the optimal order for fastrm. What fastrm really wants is the list in directory order, not alphabetical sorting order. Directory order is what find generates. The exception would be when find recurses down a directory. It would be better to do all the files in a directory before doing the subdirectories. But I expect this is a minor performance hit. The advantage of sorting is when the input list has no relationship to directory structure. The ouput of expire and outgoing queues are in article arrival order. This will wildly jump from directory to directory causing the cache to thrash and the disk to seek.
Technical Details
Message-ID:
<5v9g65$rtu$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:
<3410666B.554F@fcmc.com> <5urcqs$r92$1@bigred.inka.de> <5us89s$rrp$1@samba.rahul.net>Show Full Headers
Complete Article Headers
Message-ID: <5v9g65$rtu$1@pluto.whowhere.com> Subject: Re: Articles not being removed Date: Thu, 11 Sep 1997 00:00:00 +0000 From: jerry@rigel.whowhere.com (Jerry Aguirre) References: <3410666B.554F@fcmc.com> <5urcqs$r92$1@bigred.inka.de> <5us89s$rrp$1@samba.rahul.net> 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: 271685085 Organization: WhoWhere?; Mt. View, CA USA Newsgroups: news.software.nntp