High CPU usage on shared hosting accounts

Possible causes of high CPU usage

A simple explanation for high CPU usage is that your account's site or sites receive a lot of traffic. In other words, your site is popular, which is good news! If this is the case, please contact our Sales team to discuss possible upgrade options.
However, in other cases, high CPU usage is unintentional and caused by other factors. The following list describes some common software issues that can cause high CPU usage. Resolving these issues does not require an upgrade

  • Running Cron jobs too frequently—particularly resource-intensive cron jobs—can negatively impact server performance. Only run cron jobs as often as necessary. On shared hosting accounts, the shortest allowed interval for cron jobs is 15 minutes. You can temporarily disable any database backups or other maintenance jobs that are set up to determine if they are causing high CPU usage.
  • Comment spam on a forum or blog such as Wordpress can affect CPU usage. Check your account for any old installations that you can remove, or for comments and spam postings that look automated. On most blogs, it is possible to disable commenting. If you want to allow comments, however, you may need to implement CAPTCHA protection for your website.

  • Check web logs or statistics programs (such as AWStats in cPanel) for traffic patterns. Try to determine which web pages receive the most traffic, and where the traffic is coming from.
  • Search engine spiders “crawl” your website. If this occurs too frequently, performance may be affected. Please make sure that your robots.txt file contains a Crawl-delay setting of 30 seconds or higher. For example:

               User-agent: *
               Crawl-delay: 30

  • A hacked account often causes abnormal CPU usage. Make sure you use a secure password and keep all software up to date. For information about how to secure a hacked site.Make sure any MySQL queries are optimized. Your CMS or e-commerce application may require optimization
  • If none of the previous scenarios apply to your account, it may just be outgrowing what a shared server can handle.
    You should consider upgrading to VPS or Dedicated Server

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What do I need to do to put Flash on my website?

Flash is a client side feature - it runs on the user's computer, not on your web host. As long as...

What are private nameservers and how do I set them up?

Private nameservers are where your domain points to our nameservers so that your customers do not...

Static IP vs. Dynamic IP Address

A static IP address is one that remains fixed and never changes. The PC always sees the same...

Protecting Yourself Against Viruses & Data Loss

It is vital to ensure your computer is protected from viruses and trojans. As well as...

How to Upgrade perl?

Run the following command. cd /usr/local/src ; wget...