Procédure
What is CPU usage?
cPanel allows you to monitor CPU resource usage and concurrent connections. You can also track memory, CPU, and I/O consumption (disk access) of your web hosting plan.
At LWS, each customer has their own resources. As a result, if one customer uses a lot of resources, this will have no impact on other customers on the same server. For this purpose, each cPanel plan includes a "CPU usage" tool that allows you to view the usable and used resources for these websites. Thanks to the graphs available on the cPanel plans, it is then possible to monitor the actual consumption of your hosting plan and also see whether the limit is likely to be reached quickly.
How to view CPU resource usage?
- Log in to your LWS customer area, click on "Manage" located behind the relevant plan, then on "Access cPanel".

22. Then click on the "Resource Usage" button in the "Metrics" section.

Discover the tool
After clicking on the "Resource Usage" tab, the first page will tell you whether certain limits have already been reached by your plan.

This page often indicates overruns of certain quotas such as I/O or CPU over the last 24 hours. This is often normal. Indeed, you may have run a somewhat heavy script or imported a site that consumed all the resources available on your plan.
On the other hand, it can be considered abnormal to consume all resources for more than 50% of the time. This is often a sign of a malfunction on your site or in a PHP script.
For this purpose, on the CPU usage page, you have two tabs:
- Current usage: this tab allows you to view the history of resource consumption on your plan;
- Snapshot: allows you to get an idea of the processes launched during a resource overconsumption.
Current Usage: consumption chart
If you want information about consumption over the last 24 hours or the last 7 days, click on "Current Usage".
You will see different graphs such as CPU, I/O, and processes.

To better understand the different graphs, see the explanations below for each of them:
| Graph |
Explanation |
What causes overconsumption of the resource? |
| CPU Usage |
The CPU consumption of your hosting |
This mainly concerns PHP processes executed by your websites when a visitor browses your site. When using other languages such as Node.JS or Python, these will be processes related to those scripts. Although email processes are also counted, they are extremely rarely the cause of CPU resource overages. |
| Physical Memory Usage |
The RAM consumption of your hosting |
This is the RAM memory associated with your plan. This rarely causes issues. All scripts consume more or less RAM when running (the memory_limit value defines the maximum amount of memory a PHP process can use). Heavy operations such as product variations or data import/export can consume more memory. The same applies to dependencies such as Composer.
|
| Input/Output Usage |
Read/write operations on the disk of your hosting |
Most of the time, I/O is generated by processes manipulating files on your hosting; this is often the case when backing them up. It can also come from your site's cache in the form of files. In short, this concerns everything that needs to read and write on your hosting disk space. |
| Entry Processes |
Number of active connections on the web server for your account |
Each new request creates a child process on the Apache web server (child worker). It is then closed when the request has been satisfied. The "Entry process" quota indicates the maximum number of Apache processes your plan can accept. As a result, if you have a page that takes a long time to load and is heavily requested, this can saturate your Entry Processes. A very high volume of visits could also saturate this quota. |
| Processes |
Number of running processes |
Processes are the binary files running in your hosting plan environment. This therefore includes PHP, NodeJS, Python, ... processes used to serve your visitors, but also processes running in the SSH terminal of your plan. |
Hosting activity
The "Snapshot" tab provides a snapshot of the processes that were running on your web hosting when one of the values was exceeded (I/O, Entry Processes, processes, etc.). This makes it possible to identify the scripts running, for example, during a CPU overrun.

You can view several things in the snapshot tool:
- A calendar: allows you to choose a date you want to view.
- In Choose Snapshot, you must choose the Snapshot you want to observe. Snapshots are only taken when a quota is exceeded, and are kept for only a few days.
- In Process List, you will find the list of processes in the same form as if you were using the top command via SSH. The important element is the CMD command, which lets you see what is being launched relative to the path. This makes it possible to identify the site concerned by the problem. Then there are the CPU and MEM columns.
- In Database queries snapshot, it is possible to find SQL queries that were running at the time of the snapshot.
- In HTTP Queries snapshot, you will find the requests that were present on the web server at the time of the snapshot.
What to do if the limit is reached?
It can happen that you reach the limit for certain values. You can see this by going to CPU usage and clicking on "Current Usage". The first thing to determine is whether the usage visible on the graphs seems consistent with the site you are hosting on your plan.
For example, if you host a website with a very high number of visitors, you may hit limits on certain values such as CPU in order to respond to each visit. In this case, it will certainly be necessary to check whether it is possible to optimize your website.
For this purpose, you need to ask yourself the following questions:
- Does my site have a caching system? If so, is it working properly? You can enable the server cache Fastest Cache (cPanel › Performance) and, for a WordPress site, the LWS Optimize cache plugin.
- Is my caching system counterproductive? Indeed, it can happen that the cache system causes more issues on a site than anything else, especially if you use several different cache systems on your site. You can test by disabling and re-enabling the cache so you can compare how your site works with and without it. Also, if you have a file-based cache system and it has not been purged for a long time, your site may be faster without the cache system than with it (because of the difficulty of finding data in a pile of thousands of files).
- Is the PHP version used by my site up to date? You can check at any time which PHP version your site is using by going to "Select a PHP Version" in your cPanel interface. An outdated PHP version can result in poor management of CPU, RAM, and/or I/O resources.
- Is OpCache active? You can verify that opcache is active by going to "Select a PHP Version". Enabling this module will very likely make a difference.
- Is my MySQL database size too large? Whether you use WordPress, Prestashop, or another CMS, some tables may log information such as your site's visitors, logins to the admin area or customer areas. As a result, the database size will grow over the months. If the database is several hundred MB, this can affect how your site works. It may be necessary, if possible, to reduce it, for example by emptying the logs and history tables. You can check this by going to PhpMyAdmin and sorting the tables by size.
However, it may be that your site does not have many visitors but that CPU, memory, or I/O consumption regularly spikes. In this case, you will need to check the following:
- Has your site been hacked? Malicious processes may be running on your site, which can lead to all the resources of your web hosting being consumed. In this case, you can check, by going to the "File Manager", that your hosting does not contain any malicious files. You can also start an antivirus scan using ImunifyAV.
- You may have recently installed a plugin or something else on your site that is causing problems. You can disable the different plugins and, after each deactivation, check the graphs to see whether usage becomes consistent again.
- You can also look at the snapshot tool for running processes. In principle, these will allow you to identify the site and script causing the problem.
It may also be due to the number of sites hosted on your web plan. Indeed, you may have several dozen active websites on your plan and one or two of them may be consuming all of your resources. In that case, it may be necessary to see whether subscribing to a second plan and migrating some of the sites to it could balance the load.
However, this will not work if you only have one site on your web hosting or if you have several websites and the consumption issue concerns only one of them.
Summary table of things to check
Please find below a summary table of things that can be checked whenever you encounter a problem with CPU, memory, or disk access consumption on the hosting.
| Problem |
To check |
Help / Comment |
| Abnormal CPU consumption |
Are you using the latest PHP version? |
It should be noted that PHP 5.6 is 3 to 4 times slower than PHP 7. Check that your PHP version is the latest by going to "Select a PHP Version" in cPanel. |
| Abnormal CPU consumption |
Is opcache active? |
opcache makes a huge difference in PHP performance. You can check that it is active by going to the "Select a PHP Version" tool in your cPanel interface. |
| Abnormal CPU or IO consumption |
Do you have cron jobs or other operations launched at regular intervals? |
Cron jobs are often heavy tasks, such as generating a backup. As a result, they can consume a lot. It should also be noted that some CMSs such as WordPress have their own cron tasks such as wpcron. If you have cron jobs launched every minute, it is advisable to check whether you can increase the delay between launches. |
| Abnormal CPU or IO consumption |
Do you make backups? If so, at what time are they launched? |
If you make automatic backups of your site, it is preferable to launch them during off-peak hours. |
| CPU consumption |
Have you made a major change recently? Have you installed something new or made an update? |
Try rolling back gradually major changes that may have been made to the hosting or when installing certain plugins. Indeed, it is very possible that the problem occurred after a change to your site. |
| CPU consumption |
Do you have more visitors than usual? |
Check your statistics tools such as AWStats to verify the number of visitors. Also check that they are not robots or automated systems visiting your site. If they are robots, limit them with LWS Protect (cPanel › Security › LWS Protect › Customize, "Bots" tab). |
| CPU consumption |
Do you have a cache system on your site? |
If you do not have a cache system on your site, it may be necessary to install one. This can be a server cache (Fastest Cache, in cPanel › Performance) and, for WordPress, the LWS Optimize cache plugin. |
| CPU consumption |
Have you checked that your site has not been hacked? |
Malicious processes may be the cause of overconsumption on your hosting account. Log in to your hosting and inspect your files for suspicious names. You can also perform an online antivirus scan. |
| Abnormal IO consumption |
Do you have a cache directory on your site? Have you purged it? |
A file-based cache can be counterproductive and generate大量 I/O if it is not purged. |
| Whatever the case |
Are you using the latest version of the CMS, extensions, or themes? |
If you are not using the latest version of the CMS, extensions, or theme, see whether an update is possible. Updates fix issues, including performance-related ones. |
| Whatever the case |
Have you checked your application's or PHP's error logs? |
If your application generates a log file, open it to check the latest errors. Also enable and check PHP errors. |
Conclusion
Resource overuse is often due to a problem with optimizing a site or a script. As we have seen in this help article, it is possible to view resource graphs (CPU, Memory, I/O, Processes) on your web hosting. Snapshots make it possible to view an image of the active processes on your plan at a given time.