Thanks for your advise, Now I can change the value of file-max as per my
need.
[S K Goel]
On Sun, 2006-06-11 at 03:08 +0530, Ritesh Raj Sarraf wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> S.K.Goel on Saturday 10 Jun 2006 10:07 wrote:
>
> > I am using FC4 on my computer, I am planning to store about 200 Millions
> > files in a single directory.
> >
> > I just want to know that is there any limitation in ext3 or linux for
> > the same.
> >
>
> Yes, the kernel does have limitations. I'm not sure if the current value is
> statically #defined in one of the headers but earlier it was.
>
> For me on my laptop with 768 megs of RAM the limitation is: 72870.
> You can check yours at /proc/sys/fs/file-max
>
> You can then try to use the above gathered information into practicality and
> find the actual limitations on your box.
>
>
> Remember to replace $y with the value from /proc/sys/fs/file-max.
>
>
> #!/usr/bin/perl -w
> #
>
> $x=1;
> $y=72880;
>
> while ($x < $y) {
> open (FH, "> $x..html") or die "can't open $x $!";
> print FH "Yes...No....Come\ On......";
> $x++;
> }
>
>
> Ritesh
> - --
> Ritesh Raj Sarraf
> RESEARCHUT - http://www.researchut.com
> "Necessity is the mother of invention."
> "Stealing logic from one person is plagiarism, stealing from many is
> research."
> "The great are those who achieve the impossible, the petty are those who
> cannot - rrs"
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
>
> iD8DBQFEizvS4Rhi6gTxMLwRAivkAJsEzuqnqaqvoCaPkWidp11hIYZbpwCbBW8u
> sh+SEdjSBSS+eildA0SVk/4=
> =ijFY
> -----END PGP SIGNATURE-----
>
>
>
> _______________________________________________
> linux-india-help mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/linux-india-help
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help