This is a discussion on Limit on Sub-folders / Files in Linux within the Operating Systems forums, part of the Computer Hardware/Software and Networking category; Hi, I heard that the number of sub-folders / files in a linux directory should not exceed 32,000 . There ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| 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. We are using RHEL 4 with ext3 file system. Can any one provide some details on this..? Thanks in advance |
| Sponsored Links |
| |||
| Quote:
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!
__________________ A.Rajesh Khanna |
| |||
| Quote:
This is what I tried -bash-2.0# for (( i = 0 ; i <= 32001; i++ )); do mkdir test$i; done at the end around 3199x count i got the message, "cannot create directory `last': Too many links" I used http://linuxzoo.net/ Fedora image as my test machine, Thanks |
| |||
| Quote:
$ grep 32000 /usr/include/linux/* ext2_fs.h:#define EXT2_LINK_MAX 32000 ext3_fs.h:#define EXT3_LINK_MAX 32000 ufs_fs.h :#define UFS_LINK_MAX 32000 Thanks
__________________ J Suresh Kumar Google Hacks ![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Max User Connection, can limit be increased? | senraj | PHP Programming | 2 | 12-03-2007 01:59 AM |
| File Upload Size Limit | KiruthikaSambandam | ASP and ASP.NET Programming | 9 | 09-27-2007 03:16 AM |
| How do I limit the number of rows I get out of my database | sans | PHP Programming | 1 | 09-12-2007 12:20 AM |
| How to access files and folders inside a ftp site? | Sathish Kumar | C# Programming | 4 | 07-02-2007 07:29 AM |
| Limit to $_GET and $_POST method | Jeyaseelansarc | PHP Programming | 1 | 05-11-2007 12:14 AM |