Albums taking forever to load

Hey all,

Been using zenphoto for smaller sites for a while (maybe 20 albums, with only like 20 photos in each) - now i want to scale up

In a test environment with a really beefy server just as a test bed

8 CPU cores (Physical CPU)
16GB of FBDIMM RAM
CentOS 5, Apache2, PHP 5.2.16, MySQL 5

I have a sturcture like so:
/ Root
- 2004
- about 5 sub albums
- 2005
- about 10 sub albums
- 2006
- About 20 sub albums
and so on up to 2011 with increasing photos and subalbums

I add them in folder by folder and all is ok until i start to view the albums with more photos. The photos in them were taken with DSLR's, so they are about 12 MP with JPG compression.

What im finding is that the albums are taking a very long time to load - i read that the higher the quality of the pics, the longer it will take to load and process.

So down to the issue im seeing - when i load the top level album (eg 2006) it times out.

In the logs i can see PHP blowing out 2GB of PHP memory!!!!! The load on the server is fine, i have SAS 15k HDD's in this server! I have thumbnail qulaity all the way down

SO my question is this:
I get that in the sub album level where it shows the thumbnail of each pic it should work with the images it should be slower, but in the upper levels of the trees, why is it so slow? Does the software need to interact with the images at this level??

Has anyone used this with > say 3000 images in multiple albums and then sub albums?

Any tips of tricks to speed this up?

I have also removed all exif info and the same remains

Any help appreciated

Thanks

Comments

  • acrylian Administrator, Developer
    The fix is to not upload 12MP images if your server can't handle the load. Zenphoto generates the sized images and thumbs when requested (being filesystem based). The bigger the images and the more of them the more server load. But it happens only once when the images are created. Please see the troubleshooting.
  • My server can handle the load i think i have shown that

    8 CPU cores (Intel Xeon E series) (Physical CPU)
    16GB of FBDIMM RAM
    CentOS 5, Apache2, PHP 5.2.16, MySQL 5
    SAS 15K Hard drives

    My point is more expressed in http://www.zenphoto.org/support/topic.php?id=9517
Sign In or Register to comment.