ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've been writing my own software for my site, it monitors all incoming/outgoing traffic, downloads and bandwidth, blocks traded passwords, does the toplist, affiliates, and handles the news, galleries, comments, and forum. All within the one user account...
It 'stopped working' early this morning in the sense that it stopped creating new directories (which the traffic/toplist script does for every ip number), and stopped writing information to the text files it uses for user registration, and for the comments/forum. It was still creating directories/files, but the text files were empty.
I've since deleted many tens of thousands of directories/files from last years traffic logs, and it started working again!
I'll ask my host. I also lost all email on that domain for the period in question, although directadmin reports I've still got about 1.5GB space left on the account, which made me think about the directories, especially since it all started working again once I started deleting the old stuff.
In the meantime, does anyone have any figures for how many directories/files the various file systems can handle, and would less than a million directories (with a few small files in each) be a problem for any of them?
It doesn't say how many directories or files you can have though. It does say there's 'no limits' on the pathname though (except ods-5 and udf), so I'm assuming that means the number of directories within directories (and therefore the number of directories as a whole) is limited only by the size of the disk?
Might be space, might be inodes - you need to get data from your provider as I said.
As an experiment, I had a look at a partition of mine - just under a Gig total size.
Space was 30% used, inodes were 16% used.
Created 10,000 directories (no files, just directories), and the numbers became;
Space 34% used, inodes 34% used.
Doesn't take much imagination to conceive of a situation where inodes are completely used but actual disk space remains.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.