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:
- 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 one of our affordable VPS PLANS at