[Ilugc] Limit on Sub-folders / Files in Linux

  • From: girishvenkatachalam@xxxxxxxxx (Girish Venkatachalam)
  • Date: Fri Mar 28 20:08:05 2008

On 16:10:48 Mar 28, senthilraja P wrote:

Hi,

I heard that the number of sub-folders / files in a linux directory should
not exceed 32,000 . There is not enough material available in the net.

I am maintaining a blogging server in my company, using Wordpress MU.  If
the sub-folders limit is true, then it will critically affect the
application that we are running.


How?

To begin with, I have no experience/knowledge on this.

I only suppose that there is a limit on the number of inodes one can
have.

I think it is possible to raise the limit by changing a #define and
recompiling the kernel. Or there could be other file system specific
fixes.

As to possible choices between file systems under linux again I dunno
much. I would imagine that XFS is good.

Just a wild idea. If you have a problem with this, how about using some
kind of virtual machine? Say qemu or UML?

You could split up the load across them.

Xen is also a good choice.

Anyway already I am out of my province.

Best of luck!

-Girish

Other related posts: