D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Unix file system folder limits



Cheers guys for your response.
Unfortunatly, I need static pages for search engine optimisation (my boss is
adament that the site needs to be static). The site is built everynight from
a postgres database. We are aniticpating having around 1million on the site
(listed in the format 034525.html). I would prefer to keep the files in one
folder but it is looking like I will have to find a method of splitting them
into subdirectories. Is there a limit of sub directories that you can have
in a directory? Is there a limit to the depth of folders you can have in the
unix file system?

Cheers


----- Original Message -----
From: "Alex Charrett" <alex@xxxxxxxxxxxx>
To: <list@xxxxxxxxxxxx>
Sent: Monday, March 17, 2003 1:10 PM
Subject: Re: [LUG] Unix file system folder limits


> Quoting Robert Nowik:
>
> > Hi,
> > I am working on a large website that potentially will have a lot of
static
> > html files. I need to know if folders in Unix have a limit on the number
of
> > files / subfolders that they contain. (I know Windows FAT32 has a
limited of
> > around 32000 files per folder). I am anticipated having folders with up
to
> > 1million files in. (I am probably going to run the site on a dedicated
redhat
> > server).
>
> Googling for ext2 "number of files in a directory" limit, brings up:
>
> http://boudicca.tux.org/mhonarc/ma-linux/2000/2000-Mar/msg00720.html
>
> Which is a very good point.  There may not be any specified limits but
this sort
> of is a very horrible thing to do to a poor server.  Apart from the sheer
> impracticalites of maintaining a site like this, doing an ls in that
directory
> is going to wallop the server round the head.
>
> I'm not the world's biggest fan of databases, and have on a couple of
occasions
> had long discuissions about why I belive they're overkill in certain
> applications, but this is screaming out for a database and some php.
>
> Alex.
>
> --
> The Mailing List for the Devon & Cornwall LUG
> Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
> message body to unsubscribe.
>
>
>
****************************************************************************
**
>  This email has been virus checked by the Eclipse Internet MAILsafe
service
>
****************************************************************************
**
>  www: http://www.eclipse.net.uk/                email:
eclipse@xxxxxxxxxxxxxx
>
****************************************************************************
**
>
>


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly