PDA

View Full Version : This Account Has Exceeded Its CPU Quota



mongol
08-24-2008, 05:07 AM
This Account Has Exceeded Its CPU Quota

I recive this error a lot.

I have a e107 CMS installed and a Wordpress blog installed with fantastico.

What can I do to fix this error?


CPU Exceeded Log For Sat Aug 23 00:41:35 2008

Sat Aug 23 00:41:07 2008: used 28.00 seconds of cpu time for [[mysql query]]
Sat Aug 23 00:41:06 2008: used 0.13 seconds of cpu time for HTTP Request: www.keyboardplace.com : POST /e107_plugins/chatbox2_menu/chatbox2_control.php HTTP/1.1
Sat Aug 23 00:41:03 2008: used 0.60 seconds of cpu time for HTTP Request: www.keyboardplace.com : GET /e107_files/downloads/Versuri/ardeal__banat_l.rar HTTP/1.1
Sat Aug 23 00:41:02 2008: used 0.15 seconds of cpu time for HTTP Request: www.keyboardplace.com : GET /request1543.html HTTP/1.1
Sat Aug 23 00:40:59 2008: used 0.01 seconds of cpu time for HTTP Request: www.keyboardplace.com : GET /e107_themes/Mongol.ro/images/up_.gif HTTP/1.1
Sat Aug 23 00:40:59 2008: used 0.60 seconds of cpu time for HTTP Request: www.keyboardplace.com : POST /e107_plugins/chatbox2_menu/chatbox2_control.php HTTP/1.1
Sat Aug 23 00:40:54 2008: used 0.94 seconds of cpu time for HTTP Request: www.keyboardplace.com : GET /home.php HTTP/1.1
Sat Aug 23 00:40:54 2008: used 0.67 seconds of cpu time for HTTP Request: www.keyboardplace.com : GET /e107_files/e107.css HTTP/1.1
Sat Aug 23 00:40:53 2008: used 0.02 seconds of cpu time for HTTP Request: www.keyboardplace.com : GET /e107_images/emotes/new/2.gif HTTP/1.1
Sat Aug 23 00:40:52 2008: used 0.26 seconds of cpu time for HTTP Request: www.keyboardplace.com : GET /e107_images/emotes/new/37.gif HTTP/1.1
Sat Aug 23 00:40:51 2008: used 0.30 seconds of cpu time for HTTP Request: www.keyboardplace.com : GET /e107_images/emotes/new/pian.gif HTTP/1.1


thank you

Eriksrocks
08-25-2008, 03:11 PM
First, look in /tmp/mysql_slow_queries for logs that show slow MySQL Queries, which can easily trigger CPU Exceeded Errors.

Then, take a look at this helpdesk entry: http://helpdesk.bluehost.com/kb/index.php?x=&mod_id=2&id=498
It explains what the errors are and how to optimize your MySQL queries and PHP code to eliminate them. :)

mongol
08-31-2008, 05:07 AM
Sun Aug 31 05:01:50 2008: used 144.00 seconds of cpu time for [[mysql query]]


this is shown in CPU Exceeded Log. My question is, what is mysql query means?

The database is not optimized?

Thank you.

Korr
08-31-2008, 06:53 AM
Looks like the chatbox plugin is slow, I ended up ditching a Joomla comment plugin for the same reason.

Also, I dunno anything about e107 but if it has a caching option of plugin, you probably want to install that so it doesn't have to call up all the image elements of the template every time a page loads.