0

I'm currently stack with a VPS server, so I'm planning to move on a Cloud server.

but I don't have enough knowledge on Linux (Centos or Ubunto server), so I asked the Cloud server provider and here is reply from them:

There's no such thing as unlimited inodes, as an operating system will always have a limit of how many files it can hold. The better question and answer is, no we do not set a hard limit on the cloud server like we do on the VPS server. The limit is a very fair limit given the structure of the VPS and is very common with Hardware VPS', as since there is an inode limit that every OS has and there's an operating system that is running on the Hardware Node that contains the virutalized operating systems, there's gotta be stricter limits. The Cloud Server removes that limit due to the was it's virtualized, but you still are grounded by whatever the limit is of your operating system.

But I don't understand the limitation on linux except hard disk space, Any one please help me what is limitation with linux inodes or whatever it says.

NOTE: As I will host 100+ CMS site I will have 15,00,000+ small files.

SAIFUL
  • 3
  • 3

2 Answers2

0

If your really worried about inodes one thing i may suggest is to get a dedicated private server running a hypervisor. That way you could set up multiple virtual machines and isolate groups of sites

one thing to note is i have my own vps with my company and on a 100G cent7 vps i have over 100000000 inodes not including tmpfs

You could likely host what your talking about on one similarly but i would not recommend running email on the same server as these sites with such a high inode count in use.

user9517
  • 115,471
  • 20
  • 215
  • 297
  • 1
    There is no need to put a signature block on your posts as the system inserts one for you with a link to your profile. – user9517 Dec 18 '15 at 14:27
  • thanks, but I was asking about centos 7 OS limitation as they said "no we do not set a hard limit on the cloud server like we do on the VPS server." – SAIFUL Dec 18 '15 at 14:30
  • You can use partitions and mounts to help limit the impact of multiple high inode sites. The VPS i have is running cent 7.1 64bit – Will At AIT.com Dec 18 '15 at 21:27
0

As I reply to your yesterday's question - inodes are limited by design, as it is something like telephone list of your filesystem. See more detailed information on wikipedia. Number of inodes available is defined when creating filesystem and is (more or less) based on filesystem size, so you need to have big filesystem to have many small files, even total size of that files are lower than filesystem.

You should think about using multiple server and distribute whose sites across multiple servers (like hosting about 20 sites per server).

Ondra Sniper Flidr
  • 2,653
  • 12
  • 18
  • What about the cloude server they said, they don't set any hard limit? Cloud server plan will have 1vCore + 1GB RAM + 40GB SSD. Also what is the best OS should I choose? Ubuntu or Centos 7? – SAIFUL Dec 18 '15 at 20:46
  • Yep, there is no hard limit. It is just a feature of filesystem by-design, nothing something what is limmited by provider. OS is nothing important in this, maybe you will get better performance if you will (and can) host your files on ReiserFS, AFAIK this FS is designed to host bzilions of files. BTW are you planning to host 100+ PHP based sites on machine with 1GB of RAM only? It will not work at all (only if you have really, really tiny number of visitors of those sites.). – Ondra Sniper Flidr Dec 21 '15 at 11:15