PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 10th, 2007, 09:00 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 102
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.
angkor408 is offline   Reply With Quote
Old June 10th, 2007, 09:17 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
There is nothing to fix here that I can see

Quote:
Most properly running php processes should complete in less than 0.05 seconds of CPU time.
Now that would depend on the action of that script right

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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
High CPU load when processing photos gholsie Photopost Pro Bug Reports 0 May 14th, 2007 12:47 AM
Posts exceed my upload limit, categories on main page, admin login problems kgrubb Photopost Pro How Do I...? 5 March 2nd, 2007 08:03 AM
Script on 1st Server and Images on 2nd Server mihirp Photopost Pro How Do I...? 2 February 6th, 2007 07:47 AM
Exceeded Its CPU Quota dholt Photopost Pro Bug Reports 3 January 27th, 2007 12:40 PM
How do I add scroll bars for when images exceed a set width or height? donJulio Photopost Pro How Do I...? 0 February 3rd, 2005 01:29 AM


All times are GMT -5. The time now is 04:07 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0