[ Date Index ][
Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]
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 limit sQuoting Robert Nowik:Hi,
I am working on a large website that potentially will have a lot ofstatichtml files. I need to know if folders in Unix have a limit on the numberoffiles / subfolders that they contain. (I know Windows FAT32 has alimited ofaround 32000 files per folder). I am anticipated having folders with upto1million files in. (I am probably going to run the site on a dedicatedredhatserver).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 butthis sortof 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 thatdirectoryis going to wallop the server round the head.
I'm not the world's biggest fan of databases, and have on a couple ofoccasionshad 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 MAILsafeservice****************************************************************************
**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.
intY has scanned this email for all known viruses (www.inty.com)
***** YLEM DISCLAIMER ***** To obtain a copy of Ylem's email disclaimer ring 01398 323146
intY has scanned this email for all known viruses (www.inty.com) |