CPU Usage too high on Rochen

More
13 years 7 months ago #9688 by russellmoran
I'm getting nasty emails from Rochen saying my site has too much CPU usage. I have done nothing to it recently but they're saying it could be bad scripting of sort. Can you load it and see if you see anything that could be intensive on the CPUs???

www.WTreF.com

Here is the emails:

Jul 19 2011:
wtrefcom wtref.com 3.11 0.03 0.1
Top Process %CPU 104 /usr/bin/php /home/wtrefcom/public_html/index.php
Top Process %CPU 98.6 /usr/bin/php /home/wtrefcom/public_html/index.php
Top Process %CPU 98.4 /usr/bin/php /home/wtrefcom/public_html/index.php

Jul 20 2011:
wtrefcom wtref.com 2.98 0.03 0.1
Top Process %CPU 106 /usr/bin/php /home/wtrefcom/public_html/index.php
Top Process %CPU 101 /usr/bin/php /home/wtrefcom/public_html/index.php
Top Process %CPU 100 /usr/bin/php /home/wtrefcom/public_html/index.php

Jul 21 2011:
wtrefcom wtref.com 1.97 0.03 0.1
Top Process %CPU 91.7 /usr/bin/php /home/wtrefcom/public_html/index.php
Top Process %CPU 91.3 /usr/bin/php /home/wtrefcom/public_html/index.php
Top Process %CPU 91.0 /usr/bin/php /home/wtrefcom/public_html/index.php

Jul 22 2011:
wtrefcom wtref.com 2.32 0.04 0.1
Top Process %CPU 93.3 /usr/bin/php /home/wtrefcom/public_html/index.php
Top Process %CPU 92.0 /usr/bin/php /home/wtrefcom/public_html/index.php
Top Process %CPU 89.9 /usr/bin/php /home/wtrefcom/public_html/index.php

Please Log in to join the conversation.

More
13 years 7 months ago - 13 years 7 months ago #9704 by ivan.milic
What site visitors get HTML,Images and javascript has nothing to do with that. PHP files you should check. We had not have problems with our templates ,modules or plugins like that. We usually have loop's with not more than 10 turns.
Start with components you added by disabling one by one until you find which is taking most of CPU time. There is no way you can or anyone else could see CPU usage beside gays in your hosting company (if they don't provide some way so other could see that) so you will have to ask them to assist you - to tell you after which component disabling problem went away. If they decide not to help you you will have to copy site to your computer locally so you could track CPU usage changes when you call your site.
Last edit: 13 years 7 months ago by ivan.milic.

Please Log in to join the conversation.

More
13 years 7 months ago #9705 by ivan.milic
Also check if you altered PHP code somewhere, - maybe you made some endless loop or multiplied number of turns.

Please Log in to join the conversation.

Time to create page: 0.198 seconds
Powered by Kunena Forum