From owner-freebsd-stable@FreeBSD.ORG Thu Jan 20 07:27:41 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 207E216A4CE for ; Thu, 20 Jan 2005 07:27:41 +0000 (GMT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF1B043D5C for ; Thu, 20 Jan 2005 07:27:40 +0000 (GMT) (envelope-from imbutler@comcast.net) Received: from auburn.comcast.net (h000086489e8c.ne.client2.attbi.com[66.31.33.127]) by comcast.net (rwcrmhc12) with ESMTP id <20050120072740014000sgr3e>; Thu, 20 Jan 2005 07:27:40 +0000 Received: from localhost (unknown [127.0.0.1]) by auburn.comcast.net (Postfix) with ESMTP id D931317031 for ; Thu, 20 Jan 2005 02:27:39 -0500 (EST) Received: from auburn.comcast.net ([127.0.0.1]) by localhost (auburn.comcast.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32996-03 for ; Thu, 20 Jan 2005 02:27:33 -0500 (EST) Received: from [127.0.0.1] (localhost.comcast.net [127.0.0.1]) by auburn.comcast.net (Postfix) with ESMTP for ; Thu, 20 Jan 2005 02:27:32 -0500 (EST) Message-ID: <41EF5D64.3000004@comcast.net> Date: Thu, 20 Jan 2005 02:27:32 -0500 From: Michael Butler User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: stable@freebsd.org References: <00b001c4fea0$7533d490$6745a8c0@MESE> <20050120070113.GC7352@dan.emsphone.com> In-Reply-To: <20050120070113.GC7352@dan.emsphone.com> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: at auburn.comcast.net Subject: Re: Very large directory X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2005 07:27:41 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dan Nelson wrote: | Try raising your datasize rlimit value; .. I found this (lots of files in a directory) to be generally a Bad Idea. Search performance tends to be poor even with the improvements in 5.x While I'm not sure that it's possible to in this instance, I have previously in a practical implementation, used OpenLDAP to specify separate 'Maildir' directories for mail storage based on the first letter of the username. Although I'm sure there are better and more distributed hash mechanisms, this was the quickest (and most commercially expedient) to hack into the LDAP database, Michael Butler CISSP Security Consultant SAVVIS Communications www.savvis.net Transforming Information Technology PGP Key ID: 0x5E873CC5 Fingerprint: 2CFF 581F D192 F885 7ED9 3C44 889C A479 5E87 3CC5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) iD8DBQFB711kiJykeV6HPMURAtdIAKC4Su7aFuXEO8vIWtFfJZnpr686tACfWsv1 O7LY1ONU2w4Hf+7DtE+ddog= =72Cu -----END PGP SIGNATURE-----