Re: How many files can be in one directory?
| From: | Andy | Date: | Tue, 26 Feb 2002 09:31:47 +0000 |
| Subject: | Re: How many files can be in one directory? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86204@lists.php.net to get a copy of this message | ||
So this means, that I can not increas the amount by splitting the files into
more than 1 directory? In fact it would make it even less, because dirs also
need those i-nods, right?
Thanx
Andy
"Thalis A. Kalfigopoulos" <thalis@cs.pitt.edu> schrieb im Newsbeitrag
news:Pine.LNX.4.21.0202251637400.7686-100000@antimony.cs.pitt.edu...
> On Mon, 25 Feb 2002, Andy wrote:
>
> > Hi there,
> >
> > I am building a web application which is storing pictures.
> >
> > Is there a limit of files in one directory on LINUX systems? Perhaps it
> > might end in a problem after having 30000 files in the same dir?
Performance
> > issues ore something else.
>
> The limit depends on how many inodes you have on the filesystem this dir
resides on. This is a parameter when first mke3fs was ran to create the fs.
Usually you'll have 1 i-node every 4096 bytes and you need 1 inode per file.
So do your calculations depending on the size of your partition.
>
> cheers,
> thalis
>
> >
> > Has anybody got experiance on that?
> >
> > Thanx for any comment,
> >
> > Andy
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>