Re: How many sub-directories ?
- From: Robert Nichols <SEE_SIGNATURE@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 3 Apr 2007 23:51:13 +0000 (UTC)
In article <MPG.207c92e6437df30498998f@xxxxxxxxxxxxxxxxxxxxxxxxxx>,
<colin.c@xxxxxxxxxxxxxx> wrote:
:
:How many sub-directories in one main directory can linux handle before
:anything "unwelcome" starts to happen?
:
:For example if I create
:
:/var/www/myhome
:How many folders can exist in that one directory - ie with none below
:them.
:
:eg
:
:/var/www/myhome/a
:/var/www/myhome/b
:/var/www/myhome/c ... and so on ...
:
:If its relevant I'm using Centos V4 enterprise version.
Depends on the filesystem. For ext2 and ext3 the hard limit is 31998
due to EXT[23]_LINK_MAX being 32000 and each of those subdirectories
(folders) has a link back to its parent, which began life with a link
count of 2.
The limit for decent performance would likely be quite a bit less.
--
Bob Nichols AT comcast.net I am "RNichols42"
.
- Follow-Ups:
- Re: How many sub-directories ?
- From: colin . c
- Re: How many sub-directories ?
- References:
- How many sub-directories ?
- From: colin . c
- How many sub-directories ?
- Prev by Date: Re: ANN: Microsoft goes honest - April Fool's!
- Next by Date: Re: How Does One Tell When a File Has Completely Downloaded?
- Previous by thread: Re: How many sub-directories ?
- Next by thread: Re: How many sub-directories ?
- Index(es):
Relevant Pages
|