From owner-freebsd-questions@FreeBSD.ORG Sun Aug 15 01:40:01 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C634316A4CE for ; Sun, 15 Aug 2004 01:40:01 +0000 (GMT) Received: from grover.logicsquad.net (ppp52-132.lns1.adl2.internode.on.net [150.101.52.132]) by mx1.FreeBSD.org (Postfix) with SMTP id 36EB143D39 for ; Sun, 15 Aug 2004 01:39:58 +0000 (GMT) (envelope-from paulh@logicsquad.net) Received: (qmail 47966 invoked by uid 1000); 15 Aug 2004 01:39:55 -0000 Date: Sun, 15 Aug 2004 11:09:55 +0930 From: "Paul A. Hoadley" To: freebsd-questions@freebsd.org Message-ID: <20040815013954.GC25751@grover.logicsquad.net> References: <20040814230143.GB8610@grover.logicsquad.net> <20040814233234.GA56333@falcon.midgard.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040814233234.GA56333@falcon.midgard.homeip.net> User-Agent: Mutt/1.4.2.1i Subject: Re: find -exec surprisingly slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2004 01:40:01 -0000 On Sun, Aug 15, 2004 at 01:32:35AM +0200, Erik Trulsson wrote: > You seem to have missed the fact that operations on very large > directories (which a directory with 400K files in it certainly > qualifies as) simply are slow. Good point. I had overlooked that. > Reducing the number of processes spawned will certainly help some, > but a better idea is to not have so many files in a single directory > - that is just asking for trouble. I'm not sure that I can make qmail do anything else. These are spams sent to non-existent addresses at my domain, being caught by .qmail-default. What I am going to do is clear out the Maildir daily instead of monthly, though. Collecting them has become a significant drain on disk space---the 400K spams are the result of about a month and a half of collection. -- Paul. w http://logicsquad.net/ h http://paul.hoadley.name/