View Full Version : how to fix this problem causing cpu exceeded error?
va3onak
07-02-2009, 01:23 PM
Hi,
Now I'm looking at our last cpu_exceeded_logs file and there is long list point to "/ramdisk/bin/fcgiphp5" which I don't know much about it or don't know how to deal with that. would you please tell what exactly it means and what should I do to avoid it?
Example of my last cpu_exceeded_logs file:
CPU Exceeded Log For Wed Jul 1 13:36:52 2009
Wed Jul 1 13:36:52 2009: used 0.77 seconds of cpu time for /ramdisk/bin/fcgiphp5 - *****
Wed Jul 1 13:36:52 2009: used 0.82 seconds of cpu time for /ramdisk/bin/fcgiphp5 - *****
Wed Jul 1 13:36:52 2009: used 0.92 seconds of cpu time for /ramdisk/bin/fcgiphp5 - *****
Thanks in advance.
JamesYap
07-03-2009, 08:47 PM
I think you have 'FastCGI' installed. FastCGI might not be for everyone. Try to disable it and use the normal PHP executer and see if that fix it.
va3onak
07-06-2009, 04:44 AM
Thank JamesYap for your reply. I changed that but the problem still exists :confused::confused:.
how can I find the exact cause of problem while the error log is too meaningless for me?:(
Early Out
07-06-2009, 05:29 AM
But if you're still getting CPU quotas exceeded with FastCGI disabled, you should be getting different error messages, hopefully ones that give you a better idea of what's happening. The error messages you've posted occur only if you're using FastCGI.
va3onak
07-06-2009, 05:33 AM
Here is the screenshot of my PHP settings:
http://www.gigaimage.com/images/1twn4jyc5mt9iloyrksc.png
and here is the new error lines:
Mon Jul 6 00:34:50 2009: used 0.77 seconds of cpu time for /ramdisk/bin/php5
Mon Jul 6 00:34:50 2009: used 0.50 seconds of cpu time for /ramdisk/bin/php5
Mon Jul 6 00:34:50 2009: used 0.80 seconds of cpu time for /ramdisk/bin/php5
According to This guide (http://helpdesk.bluehost.com/kb/index.php/kb/article/000406) i switched to FastCGI but it seems there is no difference for me!
!!!??
Early Out
07-06-2009, 05:50 AM
Well, at least that tells you that FastCGI isn't the problem - the error messages are different, though no more helpful.
So on to the next question. What are you running when you get these errors? What scripts are you using? You're not giving us much to go on, here.
Here's the knowledgebase article (http://helpdesk.bluehost.com/kb/index.php/kb/article/000434) about CPU quota errors.
At the end of that article, there's supposed to be a link to a form you can submit to BH to see if their techs can track down what's causing the problem, but they've changed the knowledgebase structure, so the link is broken. I'd use Live Chat to contact the support folks - maybe they can at least give you a working link to the form.
va3onak
07-06-2009, 06:00 AM
I've installed wordpress and my site has between almost 20 to 50 concurrent visitors per minute and almost average of 7000 daily hits.
I've just talked to BH support guys and they said it might be because of site outgrown and passing over shared hosting boundreis and limits! is that true?
va3onak
07-06-2009, 06:07 AM
As for that broken link you mentioned support told me to do this:
Just go back to the http://helpdesk.bluehost.com and then click on open a ticket
and submit one in the cpu exceeeded section
Early Out
07-06-2009, 06:08 AM
Yes, that's possible. Bargain shared hosting certainly has its limits, and when a site gets very popular, it's time to start thinking about a dedicated server or VPS. It's like trying to handle 25,000 cars per hour on a two-lane road. You can repave the road, straighten out the curves, and put wider shoulders on it, but it still won't be able to handle the traffic.
And there's not much you can do to optimize Wordpress - the folks who develop it have already done about all they can.
Early Out
07-06-2009, 06:09 AM
As for that broken link...
Thanks for the info.
There are a lot of broken links in the knowledgebase, unfortunately. When they changed the structure of it, no one spent the time needed to fix the links. :(
bh_WP_fan
07-10-2009, 08:40 AM
Though there may be little you can do, look into some of these as they may prove beneficial:
http://wordpress.org/support/topic/164456?replies=61
http://codex.wordpress.org/WordPress_Optimization/Cheat_Sheet
http://wordpress.org/support/topic/197243?replies=2
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.