![]() |
CPU Exceed on server For some reason when I did a scan on the database by selecting all and hit scan, my hosting cpu server timeout. They say something about your script will need to correct. If I do one at the same time than I don't get any cpu server on there server. Here the messages I got from my support hosting. Thank you for contacting Bluehost Technical Support. You are limited to 40 cpu seconds of cpu time in a 3 minute window. This is cumulative. So within three minutes if you have 400 tasks taking 0.10 seconds each you will exceed your quota. Then ALL tasks will fail until after the tasks stop for a five minute window. Then the error will clear. You must limit your usage to less than 40 CPU seconds for each 3 minute window. (A CPU second is a normal second for each process. IE: if you have 10 processes running all at the same time for one second its not one second, it counts as 10. One second for each process. Everything is cumulative.) You can determine what is causing this error by logging into your domain control panel, choose File Manager, then select the TMP folder then CPU_EXCEEDED_LOGS then choose the file with the newest date, then select show file. Below is a sample from your error log. Sun Jun 10 00:45:33 2007: used 4.63 seconds of cpu time for /usr/bin/php adm-misc.php Sun Jun 10 00:45:09 2007: used 4.75 seconds of cpu time for /usr/bin/php adm-misc.php Sun Jun 10 00:45:00 2007: used 13.74 seconds of cpu time for HTTP Request: www.khmerclub.com : GET /gallery/adm-misc.php?ppaction=scandb&admact=dbops&okay=yes&fixthumbs=yes&allthumbs=yes&allmedium=yes&watermark=no&counts=yes&scanexif=no&start=102&category=all HTTP/1.1 Sun Jun 10 00:45:28 2007: used 7.75 seconds of cpu time for HTTP Request: www.khmerclub.com : GET /gallery/adm-misc.php?ppaction=scandb&admact=dbops&okay=yes&fixthumbs=yes&allthumbs=yes&allmedium=yes&watermark=no&counts=yes&scanexif=no&start=215&category=all HTTP/1.1 Sun Jun 10 00:45:36 2007: used 6.90 seconds of cpu time for HTTP Request: www.khmerclub.com : GET /gallery/adm-misc.php?ppaction=scandb&admact=dbops&okay=yes&fixthumbs=yes&allthumbs=yes&allmedium=yes&watermark=no&counts=yes&scanexif=no&start=229&category=all HTTP/1.1 Sun Jun 10 00:45:14 2007: used 13.79 seconds of cpu time for HTTP Request: www.khmerclub.com : GET /gallery/adm-misc.php?ppaction=scandb&admact=dbops&okay=yes&fixthumbs=yes&allthumbs=yes&allmedium=yes&watermark=no&counts=yes&scanexif=no&start=162&category=all HTTP/1.1 Sun Jun 10 00:45:19 2007: used 4.00 seconds of cpu time for /usr/bin/php adm-misc.php Most properly running php processes should complete in less than 0.05 seconds of CPU time. You will need to optimize your site or improve your code to prevent these, and the other queries from running so long. If you need help to fix these issues you will need to contact the script maker, or a web developer, as we do not provide support for web content, or scripting issues. |
There is nothing to fix here that I can see Quote:
You have selected to run a scan database and process x number of images to redo some things and that script also runs in a loop so depending how many number of images your redoing that time to run that script increments. My suggestion is do not do all those tasks at one time if you know it will trip that issue. |
| All times are GMT -5. The time now is 10:19 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0