cPanel (Control Panel) provides a graphical web-based tool that allows you to perform the maintenance tasks in all aspects of the hosting service from email account creation to setting up website domains. Using cPanel, you can easily manage the most complex admin processes such as resource usage including physical memory utilization, databases, security, software, or apps installation, etc. in just a few single clicks.

This guide will explain to you how to fix the Physical memory usage in cPanel.

Physical Memory usage in cPanel
Management of resource usage in cPanel, especially the high utilization of physical memory is an important issue. In cPanel, Physical memory usage means it displays the amount of memory (in Megabytes) or RAM allocated to your hosting account. So, every process, application, or script running on your website utilizes a specific amount of physical memory. But, exceeding a certain amount may cause different errors such as error code 508, 500, and 503. The high usage of physical memory can lead to a slowdown of the website speed.

Before going into the causes of the high physical memory usage. You should have knowledge about the different types of hosting plans that you can use for hosting your website. Three types of hosting plans that you can use:

Shared hosting
VPS hosting
Dedicated server
Usually, high physical memory issues arise in shared hosting where resources are shared between many users. Therefore, it is better to use dedicated hosting or VPS plans. In dedicated hosting, you can use all resources for yourself and In VPS the resources are shared between fewer users and

What are the reasons for high physical memory usage in cPanel?
The use of physical memory is so high in cPanel due to the following reason listed below:

The high volume of useless or spam traffic on your website may increase the usage of physical memory.
The execution of many scripts or entry processes at the same time utilizes high physical memory.
The presence of viruses may also increase physical memory usage. Therefore, it is better to scan your website using cPanel’s virus scanner that will decrease the physical memory usage.
Installation of unused plugins, themes and Ajax modules also consume high physical memory.
Installing new software or plugin updates in some cases may also cause high physical memory usage.
How to check Physical Memory usage in cPanel
You can check the physical memory overview using the following two different ways:

To check the quick overview about the physical memory in the form of the progress bar, login into the cPanel account. Now, click on the right sidebar on the ‘Statistics’ and check the physical memory usage details as follows:
screenshot of Statistics page with highlighted Phisical Memory Usage tab

In the above-displayed image, you can check the physical memory usage in your cPanel account. However, it only shows you the current resource usage information. However, to check the physical memory usage details use the following method:

In the cPanel account, Go into the ‘Metrics’ menu and choose the ‘Resource Usage’ which is highlighted red in the following screenshot:
screenshot of Metrics page with highlighted Resource Usage button

If your website has reached the physical memory limit in the past 24 hours then, in a quick tour the following messages show in the resource usage dashboard.

To view the detailed report, click on the ‘Details’ or you can check the resource utilization chart under the ‘Current Usage’ section.

screenshot of Resource Usage Overview with highlighted Details button

Fix the Physical memory usage in cPanel
The increase in physical memory usage is happening due to various reasons. Therefore, here we are providing you with useful suggestions that will narrow it down or completely remove this issue. Using the following different ways, you can fix the Physical memory usage issues in cPanel:

Check the data of your website visitors in your cPanel
. If you are getting overwhelmed or increasing in the number of website visitors then, in this case, you need to upgrade or optimize your hosting plan to meet with demands or if they are bots then, work to prevent the DDOS attacks.
Disable the plugins or remove scripts that are eating up much physical memory.
Try to scan the web pages using plugins like GTmatrix. Review all plugins and themes. Uninstall them, if there is no more reason for further use.
Optimize your website using various plugins. For example, use of the ‘WP-Optimize’ plugin to optimize the database.
Similarly, using the combination of GTmetrix and cPanel statistics plugins you can check the large images, files, and videos that are slowing down the website speed.
Remove all domains and subdomains that are no longer in use
.
Keep the upgraded and latest version of all software, plugins, themes, and modules
.
Sometimes, high physical memory usage occurred due to installing the recent updates on your website
. So, check all installed recent updates.
If not all the above suggestions work well then, immediately contact the customer support team of your hosting providers. They will provide you with more options or hosting plans to resolve your high physical memory problem.

Conclusion
We have discussed in this article the main causes of high physical memory usage in cPanel. How high physical memory usage affects your website performance. Moreover, we have also suggested some useful guidelines through which you can easily fix the high physical memory usage issue in cPanel.

https://hostadvice.com/how-to/web-hosting/cpanel/how-to-fix-physical-memory-usage-in-cpanel/#:~:text=Installation%20of%20unused%20plugins%2C%20themes,cause%20high%20physical%20memory%20usage.

Sometimes, the server stats show that the physical memory usage in cPanel is in red. If you are new to hosting and managing a website, you might not know about this issue. Either way, you might want to fix this, right? If not, your website might also become inaccessible or might not function properly.

It might take a lot of time to load or you might see 508, 500, and 503 errors. So, this guide will cover everything you need to know about physical memory. We will see what is physical memory usage in cPanel and then see a few ways to decrease its usage.

Contents hide
1) What is physical memory usage in Cpanel?
2) How to reduce physical memory usage in cPanel?
2.1) 1. CDN
2.2) 2. Decrease the Entry Process
2.3) 3. Scan the Website
2.4) 4. Check for Scripts that are Executing Multiple Times
2.5) 5. Enable Caching
2.6) 6. Advanced Methods
3) Why is my physical memory usage so high?
4) How do web hosting types affect physical memory usage?
5) How do I check my physical memory in cPanel?
6) How to fix physical memory usage in Cpanel?
7) How do I increase physical memory in cPanel?
8) How to fix physical memory usage Cpanel for WordPress?
8.1) Heartbeat control and WP Crontrol
8.2) Some Themes and Plugins can be a Headache
8.3) Recommended Plugins and Configuration
9) Final Words
What Is Physical Memory Usage In Cpanel?
Physical memory simply means the RAM that is allocated to you on your account. Every process that occurs on the website will use some physical memory. Therefore, if more processes are running on the website, the physical memory will be a lot more.

Does this mean the memory usage should be 0 if no processes are running? Unfortunately, No. Physical memory in cPanel is counted for every single process including Pop server, IMAP, etc. These are some of the processes that will always be running. So, the short answer here is no, the physical memory usage will never be zero.

How To Reduce Physical Memory Usage In CPanel?
There are many ways to reduce physical memory usage in cPanel. We will see a few ways you can decrease the usage. If you are using WordPress, we also have another section for you to decrease memory usage. So, you can even try that.

NOTE: Always take a backup of your website before changing the files.
1. CDN
The easiest thing you can try is to use a CDN. It stands for Content Delivery Network. It will filter out the useless/spam traffic from your website. This will even reduce the chances of a DDoS attack. As there won’t be any spam bots, the memory usage will decrease a bit. You can even add a free SSL certificate here.

Cloudflare offers free CDN. Many hosting providers already have partnered up with Cloudflare. So, you can activate it directly from the cPanel.

cpanel software
If not, you can always head over to the official website of Cloudflare and set it up from there.

2. Decrease the Entry Process
Entry processes mean the number of scripts running at a single time. If there are more scripts executed as soon as the page loads, it will trigger more physical memory usage. So, you can try to decrease them. You can also see the number of entry processes in the resource usage. If these increase more, the amount of physical memory will also increase.

3. Scan the Website
The presence of malware is one of the most ignored reasons for physical memory usage. People do all kinds of things to decrease usage but forget to check for malware. You can always try to scan your website to see if there is any malicious code on your website.

Don’t worry, you don’t need to go with any paid plugin or service, you can even use cPanel’s virus scanner to scan the website and look for malware. You can quarantine the file and see if the physical memory usage decreases.

virus scanner
4. Check for Scripts that are Executing Multiple Times
Sometimes, we have a script running on the website that might be executed multiple times. For instance, you might have a script that checks for the user’s action after every 30 seconds. If the script doesn’t have a clean and proper code, it will invite more trouble. You can always try disabling such scripts and try again.

5. Enable Caching
You can always enable caching to reduce physical memory. Most of the hosting providers already have cache. You can contact them to enable caching. If you are using any specific CMS, you can also look for the caching plugin that will do the job.

6. Advanced Methods
Now, we will see a few methods that can be used if you are a programmer.

Make sure that there are fewer Ajax scripts executed.
You can use MaxConnectionsPerChild (earlier it was MaxRequestsPerChild) to limit the process.
Optimize the database and code that might increase memory usage. We will soon cover how you can find such code or processes.
What if you tried all these things and nothing works? Well, in that case, you need to understand why physical memory usage is so high.

Why Is My Physical Memory Usage So High?
Is it common to have high physical memory usage? Let’s find out. We will see why your physical memory usage is too high.

Here are some things that you need to know.

If you are using shared hosting, it’s common problem where physical memory increases a lot and goes in the red. This is because shared hosting has a limited amount of memory allocated to your account.
Sometimes, the physical memory goes high due to a sudden traffic spike. It’s completely fine if your physical memory goes to 100% for a short period (usually in seconds or minutes).
If that’s not the case, you need to work on it.

To find the reason for the high usage, you have a few options to go with.

GTMetrix: You can scan your website with GTMetrix and you will get a complete resource graph that you can use to determine the memory usage.

resource usage graph
CPanel chart: You can also do that using cPanel. Head over to resource usage and you can see the complete chart of the resources used.

cpanel chart resource usage
We will soon see the exact steps to open this chart.

You can then optimize the processes that affect you the most. Disabling the module that is causing the issues will also work here. If the process is important and you can’t disable the process, you should probably change the hosting type. In shared hosting, it’s pretty common to see high physical memory usage. So, it’s better to upgrade.

How Do Web Hosting Types Affect Physical Memory Usage?
When you are using shared hosting, the resources are divided into a lot of users. Therefore, you will get a limited amount of resources including physical memory.

The solution here is to go with a VPS or Dedicated server. In VPS, the resources are divided among very few people, in a dedicated server, you will get all the resources for yourself.

If you are looking for the best solution, you can go with Cloud hosting. It allows you to use and scale the resources as needed. So, you can always go with cloud hosting if you always see the physical memory in red. When the physical memory is greater than 75% for a while, it’s a matter of concern.

Wondering how you can check it? Here is the way to check it.

How Do I Check My Physical Memory In CPanel?
To check your physical memory, you have to do it in two ways.

You will see the physical memory usage in the right sidebar.

physical memory usage
It’s just the current resource usage. If you want to know it in detail, you will have to use a different method.

You can simply head over to the “Resource usage” in cPanel.

metrics resource usage
In the quick overview, you can see if your website has exceeded the physical memory limit in the past 24 hours.

physical memory resource usage
You can click on “Details” or click on “Current usage” to see the complete chart as we have mentioned above.

How To Fix Physical Memory Usage In Cpanel?
Now, let’s see how you can fix physical memory usage in cPanel. We have already seen how you can reduce cPanel memory usage.

Now, if you want to fix it permanently. You have a few options.

You can either disable the plugins or code that uses the most amount of physical memory. Even optimizing them would work.
The next option will be to upgrade the hosting and go with the cloud, VPS, or dedicated server.
It’s also good to get the WP-Optimize plugin to optimize the database.
You can always delete the websites/subdomains that you are no longer using.
Contact your hosting provider to see if they have a solution for the same.
How Do I Increase Physical Memory In CPanel?
Well, you might be wondering if there is any way to increase memory in cPanel. Unfortunately, there is no way you can increase physical memory in cPanel. The only option you have here is to upgrade the plan.

So, you can always try to see if other plans offer more physical memory. Other than this, there is no way to increase memory.

Now, many people confuse the physical memory in cPanel with the memory of WordPress/other scripts. If you are using WordPress, there is a certain memory allocated to WordPress. In simpler words, WordPress will only use 64M memory. If the memory limits exceed, you will get a fatal error in WordPress.

You can easily increase this memory by heading over to the wp-config.php file in file manager. Thereafter, you can add the following line there.

define( ‘WP_MEMORY_LIMIT’, ‘256M’ );
This will increase the memory limit to 256M. In most cases, 128 is enough but we will keep it to 256 to remove all the errors.

How To Fix Physical Memory Usage Cpanel For WordPress?
If you are using WordPress, there are some easy ways to fix physical memory usage. You can surely follow all these methods to decrease memory usage in WordPress.

Heartbeat control and WP Crontrol
You might already know that when you are writing an article, WordPress will autosave the draft after a couple of seconds. This is a process. If there are more such processes, it will increase the physical memory usage as well as it will increase CPU usage. So, you can either disable such processes or you can increase the interval.

Heartbeat control is a plugin that will help you disable such processes or increase the time interval.

heartbeat control
You can surely install the plugin and do the configuration. You can modify the processes or you can disable them if you don’t need them.

In the same way, there is another plugin you can use called WP Crontrol. It’s an advanced plugin that allows you to disable more processes. You can increase the intervals of all the processes that are not much needed.

wp crontrol
If you are using WooCommerce, this might be a common issue that you will face. You can surely use the above plugins to reduce physical memory.

Some Themes and Plugins can be a Headache
Some themes and plugins might be executing a lot of processes. To make it a little bit technical, if a theme or plugin is using ajax-based scripts, they are highly responsible for increasing the physical memory of your cPanel.

The simple solution here will be to disable all the themes and plugins that you are not using. If a plugin is using a lot of memory, you can also try replacing it with a lightweight plugin.

You can also make sure that every theme and plugin is updated. Sometimes, the outdated plugin might be misbehaving.

NOTE: It’s always great to switch to the default theme to determine whether the theme is using high memory or not.
Recommended Plugins and Configuration
Before we sum up, let’s see a quick list of the plugins that you should use in WordPress.

A cache plugin like WP Rocket or W3 Total Cache.
When it comes to the security plugin, it might be increasing the physical memory as there is a lot of memory needed. You can try deactivating it for a while and check the stats again after a few minutes. We recommend you scan the complete website before disabling it. If there is any malware, the physical memory usage might go high.
It’s always great to have a backup plugin. If you are taking automated backups, make sure that the plugin is taking backup when there the traffic on your website is low.
Final Words
To conclude, this was all about fixing physical memory usage in cPanel. You can surely try the methods given above to reduce physical memory usage. If the problem is still there, you can always upgrade your hosting or shift to a cloud server. Cloudways is one of the best managed cloud hosting services you can use. They have various cloud partners from which you can choose your favorite one.

If you have any doubt about the methods, you can surely leave a comment below and we will try to help you in the best way possible.

https://hostingrevelations.com/physical-memory-usage-cpanel/

By admin

Leave a Reply

Your email address will not be published. Required fields are marked *