15 Step to Take to reduce high website CPU usage in Cpanel and increase Physical Memory
1. Check the performance of your website
2. Block spam and bot traffics
3. Delete Unused Plugins & Themes
4. Lower the crawl rate of search engine bots
Search engine crawlers like Googlebot, bing bot, yahoo slurp, Yandex Bot, Baiduspider, etc., but the load on the server each time they come to our site to crawl new information.
5. Optimize Images
Optimizing images play a vital role in website loading. Use compressed images in .jpg and .jpeg format. Also, you need to resize your image, according to me I will say the ideal image size should be below 600 pixels.
6. Set up WordPress Cache Plugin correctly
WordPress plugins to reduce CPU usage, use and configure correctly cache plugins like W3 Total Cache, WP Fastest Cache, WP Rocket. These plugins help you to reduce server load.
7. Configure Clarify
This is a very handy plugin, there’s nothing complex in setting up this plugin. This is a multi-feature WordPress optimization plugin and disables ultimate tweaker.
8. Disable WordPress Heartbeat API
Clarify can also help you to optimize wordpress heartbeat API to lower the number of execution by wordpress. This API runs every 10 – 15 seconds allowing near-real-time frontend updates.
9. Optimize your Database
10. External comment system
An external commenting system like Disqus, when they load they make requests to the server and this can increase ram and CPU usage significantly.
11. Use Content Delivery Networks
Using CDNs like Cloudflare, Amazon AWS, Google cloud, etc., they can handle the spam & malicious bot traffic and will also help your website by taking some load off your web hosting service provider.
12. Don’t run too many cron jobs
Cron Jobs take resources from the web server itself, so if you run too many cron jobs, then you’ll be short on server resources.
13. Don’t use too many real-time stats showing plugins
14. Choose a Good Hosting Plan
15. Update PHP version
It is seen that update your server PHP version to the latest can drastically help you run wordpress in the most efficient way. Use PHP 7.0 and up. This will help to reduce PHP CPU usage.