From owner-freebsd-questions@FreeBSD.ORG Sat Jan 28 23:34:26 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 3B88916A420 for ; Sat, 28 Jan 2006 23:34:26 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id D46A843D46 for ; Sat, 28 Jan 2006 23:34:25 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 053D15DAB; Sat, 28 Jan 2006 18:34:25 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13354-09; Sat, 28 Jan 2006 18:34:24 -0500 (EST) Received: from [192.168.1.3] (pool-68-160-211-174.ny325.east.verizon.net [68.160.211.174]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id F1A435CEA; Sat, 28 Jan 2006 18:34:23 -0500 (EST) Message-ID: <43DBFF84.6000208@mac.com> Date: Sat, 28 Jan 2006 18:34:28 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Pelle Andersson References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@freebsd.org Subject: Re: Number of files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2006 23:34:26 -0000 Pelle Andersson wrote: > I have a 4.11 server wich have been running successfully, for som years now. > One directory is containing images, and this directory is growing really > fast. > > My question is; how many files can a directory contain, totally? Millions (it depends on the filesystem block size you used), but you will see poor performance if you put more than tens of thousands of files per directory... -- -Chuck