PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   showpoto.php killing the server (http://www.photopost.com/forum/photopost-pro-how-do-i/132244-showpoto-php-killing-server.html)

kevinrstruck June 20th, 2007 02:37 PM

showpoto.php killing the server
 
For the second time in a week I have been "shut down" by my host. They are saying that I am using too many resources. Here is the email they sent:

This email has been sent to notify you that web access to one or more of your
Site5 hosting accounts has been blocked due to resource usage issues.


Web access has been disabled on the following accounts:

thephotostation.net


Upon being notified by our monitoring systems or by other clients located on the
same server as you, we began to look into resource usage issues caused by your
account. Please be aware that resource usage is NOT directly related to
bandwidth usage and/or disk space usage. Resource usage is composed of CPU
consumption, RAM usage, disk I/O usage, concurrent Apache connections,
concurrent MySQL database connections and other system-intensive procedures.

After reviewing your sites and performing an analysis of your resource usage
over a period of time, we have determined that the following aspect(s) of your
account are the likely cause of the excessive resource usage:

Top Process %CPU 68.0 /usr/bin/php showphoto.php
Top Process %CPU 56.0 /usr/bin/php showgallery.php
Top Process %CPU 55.0 /usr/bin/php showphoto.php



I have not changed anything on the site in some time. Is there something I should do to try to fix this problem? Needless to say, my users are getting tired of this.

Chuck S June 20th, 2007 03:18 PM

well depends what version of the software do you use?

You can try turning off certain features like next prev thumb previews

kevinrstruck June 20th, 2007 03:26 PM

Version 5.6.1

Chuck S June 20th, 2007 06:39 PM

well I dont think there are any speed enhancements between 5.61 and 5.62 but you can try downloading the new code. My initial response would be to turn off the next prev thumbs under showphoto options

You can also in pp-inc.php set $showsqldebug to 2 and it will print on every page the queries and timing might help you see where your bottleneck is.


All times are GMT -5. The time now is 02:01 PM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97