How to Reduce CPU Usage on Godaddy (Bandwidth Limits)

Cloudflare-Hotlinking

If you’re getting CPU overages on GoDaddy, it means your website (and plugins) are consuming too many server resources.

GoDaddy obviously wants you to upgrade, but hopefully after reading this guide, you won’t have to. I will show you how to upgrade to PHP 7.2, offload resources to Cloudflare’s free CDN, and optimize plugins/images to consume less resources. We will use Autoptimize, WP-Optimize, Heartbeat Control, and the Blackhole For Bad Bots plugin to optimize your site. Until then, you may be getting 503 errors which just means you’ve exceeded your CPU limits.

 

1. Check Bandwidth Usage

Check how much bandwidth you’re actually using (in GoDaddy’s cPanel go to Web Hosting > Manage > Bandwidth). Next, review GoDaddy’s bandwidth limits and compare them to yours.

Quick Tips For Reducing Bandwidth:

  • Check CPU usage in GoDaddy cPanel
  • Upgrade to PHP 7.2 in your GoDaddy cPanel
  • Delete unnecessary plugins you can live without
  • Install Autoptimize plugin to optimize HTML, CSS, JavaScript
  • Resize large images to be smaller (serve scaled images in GTmetrix)
  • Losslessly compress images using the ShortPixel image optimization plugin
  • Install Heartbeat Control, WP-Optimize, and Blackhole For Bad Bots plugins
  • Use other tools in GoDaddy cPanel (eg. AWstats) to locate the source of high CPU

 

If you have high quality images on your site, people may by copying and pasting them onto their own website (or even Facebook and other social networks). This means you’re still hosting them, which sucks up your bandwidth. Here’s how to prevent this using hotlink protection which can be activated in GoDaddy’s cPanel or Cloudflare’s scrape shield settings.

In GoDaddy:

  1. Login to your GoDaddy cPanel
  2. In the Security section, click Hot Link Protection and enable it

In Cloudflare:

  1. Sign into your Cloudflare account
  2. Go to your Scrape Shield settings
  3. Enable hotlink protection

 

3. Upgrade To PHP 7.2

Upgrading PHP versions makes your site load faster (and improves security). Anytime GoDaddy releases a new PHP version, you should try to upgrade. Unfortunately, many WordPress users run outdated PHP versions since GoDaddy does NOT automatically upgrade you, since it can break your site if you’re running incompatible plugins. Here’s how to upgrade.

How To Upgrade To PHP 7.2

  1. Login to your GoDaddy cPanel
  2. In the Software section, click Select PHP Version
  3. Change to PHP 7.2
  4. Check your website for errors
  5. If you see errors, run PHP Compatibility Checker to ensure your plugins are compatible
  6. If you still see errors, revert to an earlier PHP version

 



This article was written by Tom Dupuis and originally published on Tom Dupuis.

Disclosure: Some of the links in this post are "affiliate links." This means if you click on the link and purchase the product, We may receive an affiliate commission.

Leave a Comment

You have to agree to the comment policy.

Scroll to Top