Excessive CPU

Discussion regarding Joomla! 2.5 Performance issues.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
mrsjprice
Joomla! Intern
Joomla! Intern
Posts: 70
Joined: Wed Dec 02, 2009 2:53 pm

Excessive CPU

Post by mrsjprice » Thu Dec 18, 2014 6:54 pm

In the last month my host has blocked my website 5 times due to the following files eating up all the CPU

Top Process %CPU 123 [php]
Top Process %CPU 118 /usr/bin/php /home/******/public_html/index.php
Top Process %CPU 117 /usr/bin/php /home/******/public_html/index.php

I have no idea how to sort this but it's losing me money repeatedly having them block the website because of the high cpu usage.

I updated all components I could to their latest version and I've enabled the cache in Joomla. I've been running on this server for several months with no problems no I'm getting this issue.

Any ideas what could be causing joomla to spike the cpu?

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24972
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Excessive CPU

Post by pe7er » Thu Dec 18, 2014 10:03 pm

You'd better check:
* Access log files to see weird behavior that might indicate that your website has been hacked,
and the hackers are using your resources to: spam, ddos, generate bitcoins, etc...
* Joomla's debug mode to see all database queries

You could consider cloning your website (using Abeeba Backup) and install it on a local machine (in a local web environment like XAMPP) to test performance.

Or at another account at some other hosting provider (in case your local server has not been configured optimally)
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com


Locked

Return to “Performance - Joomla! 2.5”