Ask a Question related to AIX, Design and Development.
-
Todd H. #1
files/directory limit?
Is there a limit on the number of files that can be in a directory in
AIX? If so, what is it? For bonus points, if anyone can point to
where they document such goodies, I'd be most appreciative.
--
Todd H.
[url]http://www.toddh.net/[/url]
Todd H. Guest
-
limit editing to individual files
Greetings, I have the home page and a few others at the site's root level, with other sections in their own folders. I want to limit the... -
listing a Directory files
hello community i want to make a directory list i have pdf documents in a list 101_4326.pdf 101_4325.pdf 201_4324.pdf 201_4328.pdf but i only... -
limit directory size
Hi, perhaps someone knows how to limit the size of a certain directory within a partition. On the certain partition disk qoutation is active for... -
limit web application access to local directory?
I'm trying to convince a web systems administrator to install ASP.NET on his web server so I can host a dynamic departmental web site on it. Does... -
whats limit of include files ?
Hi All Is there any limit to include files (<!--#include file="xyz.asp"-->). I have developed an application where I am including different... -
Nicholas Dronen #2
Re: files/directory limit?
Todd H. <comphelp@toddh.net> wrote:
TH> Is there a limit on the number of files that can be in a directory in
TH> AIX? If so, what is it? For bonus points, if anyone can point to
TH> where they document such goodies, I'd be most appreciative.
Since a directory is just a file with a certain bit set in its inode,
and with directory names and inodes stored in it as a table, I believe
the only limit on the number of directory entries is the limit on the
side of a file. May be wrong.
The real downside to having lots and lots of files in a directory is
the long time it takes to find files. A directory in JFS is nothing
but a stream of name/inode records. In JFS2, it's a b-tree, which
makes look-ups much faster.
Whether you use JFS or JFS2, it's generally poor style not to partition
a large directory into a number of smaller subdirectories.
Regards,
Nicholas
--
"Why shouldn't I top-post?" [url]http://www.aglami.com/tpfaq.html[/url]
"Meanings are another story." [url]http://www.ifas.org/wa/glossolalia.html[/url]
Nicholas Dronen Guest
-
The Swordsman #3
Re: files/directory limit?
Am 15 Sep 2003 23:24:22 GMT hat Nicholas Dronen <ndronen@io.frii.com>
geschrieben:
Generally spoken, I agree with Nicolas' statement regarding poor style, but> Todd H. <comphelp@toddh.net> wrote:
>
> TH> Is there a limit on the number of files that can be in a directory in
> TH> AIX? If so, what is it? For bonus points, if anyone can point to
> TH> where they document such goodies, I'd be most appreciative.
>
> Since a directory is just a file with a certain bit set in its inode,
> and with directory names and inodes stored in it as a table, I believe
> the only limit on the number of directory entries is the limit on the
> side of a file. May be wrong.
>
> The real downside to having lots and lots of files in a directory is
> the long time it takes to find files. A directory in JFS is nothing
> but a stream of name/inode records. In JFS2, it's a b-tree, which
> makes look-ups much faster.
>
> Whether you use JFS or JFS2, it's generally poor style not to partition
> a large directory into a number of smaller subdirectories.
>
> Regards,
>
> Nicholas
>
sometimes that application is forcing us to use many files in a single
directory. The problems start when using simple commands like ls *.nsf with
the shell expanding *.nsf. Beyond a certain number of files, the input lis
for ls will become too large. You need to work with e.g. find than.
We are currently using directories with +2000 files.
Regards,
Jörg
The Swordsman Guest
-
Todd H. #4
Re: files/directory limit?
The Swordsman <the_swordsman@web.de> writes:
Yes. That is the case that has me asking the question. :-)> Am 15 Sep 2003 23:24:22 GMT hat Nicholas Dronen <ndronen@io.frii.com>
> geschrieben:
>>> > Todd H. <comphelp@toddh.net> wrote:
> >
> > TH> Is there a limit on the number of files that can be in a
> > TH> directory in AIX? If so, what is it? For bonus points, if
> > TH> anyone can point to where they document such goodies, I'd be
> > TH> most appreciative.
> >
> > The real downside to having lots and lots of files in a directory is
> > the long time it takes to find files. A directory in JFS is nothing
> > but a stream of name/inode records. In JFS2, it's a b-tree, which
> > makes look-ups much faster.
> Generally spoken, I agree with Nicolas' statement regarding poor
> style, but sometimes that application is forcing us to use many files
> in a single directory.
That's helpful to know thanks!> We are currently using directories with +2000 files.
Best Regards,
--
Todd H.
[url]http://www.toddh.net/[/url]
Todd H. Guest
-
M. Bouherrou #5
Re: files/directory limit?
Just an addition, you have to know that within a filesystem the number of
inodes is limited (each file/directory use an inode), so you may run out
of inodes if too much files are stored. But not worry you can tune the FS to
add inodes as needed.
"Todd H." <comphelp@toddh.net> a écrit dans le message de news:
[email]m04qzcu4ae.fsf@rcn.com[/email]...> The Swordsman <the_swordsman@web.de> writes:>> > Am 15 Sep 2003 23:24:22 GMT hat Nicholas Dronen <ndronen@io.frii.com>
> > geschrieben:
> >> >> > > Todd H. <comphelp@toddh.net> wrote:
> > >
> > > TH> Is there a limit on the number of files that can be in a
> > > TH> directory in AIX? If so, what is it? For bonus points, if
> > > TH> anyone can point to where they document such goodies, I'd be
> > > TH> most appreciative.
> > >
> > > The real downside to having lots and lots of files in a directory is
> > > the long time it takes to find files. A directory in JFS is nothing
> > > but a stream of name/inode records. In JFS2, it's a b-tree, which
> > > makes look-ups much faster.
> > Generally spoken, I agree with Nicolas' statement regarding poor
> > style, but sometimes that application is forcing us to use many files
> > in a single directory.
> Yes. That is the case that has me asking the question. :-)
>>> > We are currently using directories with +2000 files.
> That's helpful to know thanks!
>
> Best Regards,
> --
> Todd H.
> [url]http://www.toddh.net/[/url]
M. Bouherrou Guest



Reply With Quote

