Member
Member
nagi2010   26-08-2009, 15:03
#1

Hi Guys,

Server keeps crashing and looks like Zen photo is reason.

Recently we upgraded to 1.2.6 version, Performance is very slow. Even we upload a single gallery with maximum of 35 photos, site is crashing many times. We are using Virtual private server not shared hosting.

Our Site Link is: http://www.123telugu.com/photos/

Our CPU usage shows this
Top Process %CPU 77.0 httpd [123telugu.com] [/photos/rss.php?albumtitleShambo_Shiva_Shambo&albumnameMo]
Top Process %CPU 74.6 httpd [123telugu.com] [/photos/rss.php?albumtitleSet_6&albumnameMovies%2FM%2FMal]
Top Process %CPU 62.7 httpd [123telugu.com] [/photos/rss.php?albumnr2365&albumnameSet_4&langen_US]

Can any one help?

Administrator
Administrator
acrylian   26-08-2009, 15:46
#2

Did you read this?: http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#11

Member
Member
nagi2010   27-08-2009, 10:41
#3

Our host is saying issue is with Zen photos SQL quries which que up. Any sugesstions? I am also trying some tips from trouble shooting .

Administrator
Administrator
acrylian   27-08-2009, 15:15
#4

If our queries add that CPU usage up which we hear the first time of we need to find out more details.
The issues you posted are all rss related. So try to remove the rss functions from your theme. files. Maybe you got too many subscribers who too frequently check for updates.

Try also the static html cache plugin although that does not have any effect on rss.

Member
Member
nagi2010   27-08-2009, 15:19
#5

We have been checking top CPU consuming processes; RSS script from zen photos is one that using more.

We have disabled the RSS from PHP code, what is causing spike in the CPU though the RSS script has been removed from RSS page.

Our CPU usage shows this
Top Process %CPU 77.0 httpd [123telugu.com] [/photos/rss.php?albumtitleShambo_Shiva_Shambo&albumnameMo]
Top Process %CPU 74.6 httpd [123telugu.com] [/photos/rss.php?albumtitleSet_6&albumnameMovies%2FM%2FMal]

Can any one help?

Administrator
Administrator
acrylian   27-08-2009, 15:23
#6

You did not answer if your images are maybe very big (see the troubleshooting link). And maybe a few more details about your server in general?

Member
Member
nagi2010   28-08-2009, 10:16
#7

Up to now, we are uploading 93826 images under 3800 folders in to our zenphotos. Approximately the total size of 93826 images is 11598.71 Meg

Some sample images sizes are:

800 531 pixels -- > 113 kb in size
1130
750 pixels -- > 148 kb in size
750 * 1130 pixels -- > 144 kb in size

Our server configurations:
Virtual private server
Linux - CentOS 4
1 GB ram
Control panel is cpanel/whm

Our Site Link is: http://www.123telugu.com/photos/

Administrator
Administrator
acrylian   28-08-2009, 14:40
#8

How much of that memory is attached to php? Anyway, these image do not look that big.
Do you have an awful lot of visitors then?

Member
Member
sbillard   28-08-2009, 16:10
#9

Are you still in the process of uploading these files? Until all are cached zenphoto will need to process and resize them. Also, sometimes flawed exif/iptc data causes extra processing. So first check your CGI logs for any errors reported. Then look to see if there are specific images that are not rendering. If you are not running PHP5 you should probably do so as it provides the ability to trap errors.

Member
Member
nagi2010   29-08-2009, 11:34
#10

Hello acrylian and sbillard.

These photos have been uploaded over a period of one year. We have an average of 7500 page views accessing zenphotos in a day. Our PHP version is 5.2.6

Member
Member
nagi2010   05-09-2009, 06:59
#11

Hi,

Server keeps crashing. We are using Virtual private server not shared hosting.
We got some errors through error.log file

[Fri Sep 04 23:58:27 2009] [error] [client 69.116.165.247] PHP Fatal error: Maximum execution time of 20 seconds exceeded in /home/abcd/public_html/photos/zp-core/classes.php on line 70

[Sat Sep 05 00:10:14 2009] [error] [client 74.6.17.183] PHP Fatal error: Maximum execution time of 20 seconds exceeded in /home/abcd/public_html/photos/zp-core/classes.php on line 70

[Sat Sep 05 00:11:19 2009] [error] [client 74.6.17.183] PHP Fatal error: Maximum execution time of 20 seconds exceeded in /home/abcd/public_html/photos/zp-core/functions-basic.php on line 152

Our Site Link is: http://www.123telugu.com/photos/

Any Suggestions ?

Administrator
Administrator
acrylian   05-09-2009, 08:58
#12

Have you checked if the exif info of some images is maybe corrupt. That causes also time out errorrs.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.