Understanding CloudLinux – Have you ever wondered how can ensure resources are used and distributed among clients on servers?
Learn about the limits you see in your cPanel and what they mean for your account.
Which is CloudLinux?
CloudLinux is nothing more than a tool that manages resources at the Kernel level, aiming to make the use of processing, memory and disk more democratic among all accounts on a server. Therefore, when one or more accounts are using more than allowed, these accounts are “sent to the end of the queue” of resource use and, consequently, the use of services will be slow.
The limit for each account on our shared servers is as follows:
==========
Processing: 10%
Memory: 1GB
Concurrent Connections: 20
Input Processes: 20
I/O: 512 kbps
=======
The customer can monitor the use of resources in their accounts through their cPanel. If your account is exceeding this limit, you must optimize the scripts present in it, to prevent excessive use, but if this is not possible, we recommend migrating to a corporate environment, such as a VPS or dedicated, a since, if you continue in this way, your website will continue to be limited by CloudLinux and consequently, a certain slowness will be noticed at certain times of the day.
It is this capability of CloudLinux that allows us to guarantee that a single account does not consume more than the allowed amount, which would cause problems for other clients of this same server.
Understanding CloudLinux and the resource usage with cPanel
You may have noticed that when you log into your cPanel, there is a bar on the left side, which contains large amount of information about your account. Generally, you look at the amount of disk space, the amount of bandwidth, memory usage, among other values. Well, some of these values belong specifically to CloudLinux and it is these values that we will talk about in more detail.
If you want to know more about the cPanel platform, see this article about Cpanel – What is it and how does it work?
The image below shows the use of resources by an account and due to CloudLinux along with the limits that we have imposed, the increased use of this website will not impact any more accounts on this server. These values are in real time and will always be updated.
Understanding Cloudlinux and CPU Usage
This value represents how much allocated CPU resource you are currently using. The amount of CPU resource we provide to each account is a percentage of the server’s resources as a whole. Usage is set at 10% according to our terms.
If this value reaches 100%, then it means you are using all the CPU resource that we have allocated to your account, that is, you are using the 10% that are allocated to it, but this does not mean that the server is using 100% of CPU usage.
Once this value reaches 100%, all additional processes that try to use the CPU are pushed to the end of the queue and will have to wait until that all previous processes are completed. This will cause your website to be very slow.
[2] Physical Memory Usage When We Are Still Understanding Cloudlinux
This value represents the amount of RAM your account is currently using. Every process created by your account will consume memory, for example: every PHP page a user accesses, every connection to the email service you make and so on. Usage is set at 1GB according to our terms.
If this value reaches 100% (1GB), access errors your website will be displayed, however, as soon as usage is reduced, access to your website will occur normally.
[3] Cloudlinux Input Processes
Input processes are the number of processes that enter your account. For example, all PHP pages that are accessed by a user will generally generate a single input process. But many customers misinterpret this value, as they think this is the number of visitors that can access their website at the same time.
It’s true that each visitor accessing a PHP page will spawn an incoming process, but these processes tend to terminate so quickly that it is extremely unlikely that 10 will be spawned simultaneously and in a single moment, unless of course, you had a significantly large number of visitors on your site.
As for example in a store launch or some promotion, also remember that SSH sessions and tasks scheduled, count for inbound processes.
When this limit is reached, error 508 (resource limit reached) is displayed. The number of entry processes is set to 20, according to our terms.
[4] Cloudlinux I/O Limit
This value represents how much I/O (the activity of the disk) your account is using. Any task that makes use of the disk drive (read or write) will consume this limit. This ensures that no task performed (generating backup, large MySQL queries) on its own does not saturate the disks, thus causing loss of performance for everyone. The I/O limit is 512 Kbps according to our terms.
Conclusion:
I hope it is now easier to understand the meaning of all the features present in your cPanel panel. If you still have any questions, please contact contact with our support.