Zenphoto admin became slow

Hello,
i'm filling my gallery and now i've 20257 images and 107 albums, the problem is that the admin area is pretty slow and i've no idea how can improve performance of the admin area(the front end is really fast).The database reached the 50Mb. The Utility functions can help in some way to improve this??

Thank you in advance

Comments

  • acrylian Administrator, Developer
    FOr the admin counts the same as for the theme. The thumbnails have to be generated and they are on the first view and then cached.

    You probably have not set a n album thumbs so on the album list each time a image is picked randomly from the album in question and since you have quite a lot the thumbnail probably always needs to be generated. This can slow down especially if you have big images.

    Please view the diagramm here to learn how Zenphoto generates images:
    http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#22

    and also best this:
    http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#11
  • Hello acrylan i've read that articles but now at the point of about 55000 photos i can't do anything the back-end is completely stuck and doesnt work any longer i get always gateway time out ... i dont know what to do ... if want i can give you mu username and password by email and you can check what is wrong ... because i'm lost.
    The site is http://www.heart87.com/index.php (on the index.html there is the old site)

    hope in help!
  • acrylian Administrator, Developer
    I guess your issue is related ot the random picking of an album thumb on the backend. If you have really many albums with really many images picking one on the album list on the backend will take some time, especially if the cached images needs to be processed and these images are quite big so your server can't process several of them at once.

    Please try the following: Access the individual album edit pages directly using the admin toolbox from the theme side and set a fixed album thumb for each album.
  • every album has a fixed album thumb, you can see here: http://www.heart87.com/index.php?p=indexFoto
  • acrylian Administrator, Developer
    Then it might be caused by corrupt EXIF/IPTC data of some images. That is know to cause issues like timeouts and slowdown. Actually the nightly should have optimisation for that.

    Our chief developer is away until next week so I only can suggest that you please open a ticket on the bugtracker for this. I am not familiar with the details of image processing.
  • but if i don't want to show exif data, there is some option where i can tell to zenphoto dont read the exif data ... because anyway i'm not showing any exif in my theme ...
  • acrylian Administrator, Developer
    Sorry, there is no way to disable exif reading my knowledge. Again, please create a ticket with all details so that my collegue will not miss it next week. I am not able to help right now.
  • Hi Acrylian,
    ticket opened... anyway i think the problem is that Zenphoto is reading (and storing) info that i don't need, i don't know if i'll empty all the exif data field in the database i'll speed up zenphoto back-end.

    Acrylian thanks for your support!!
  • acrylian Administrator, Developer
    Thanks for hte ticket. We will need to find out what it is that slows down. There are many possibilities or combinations. Do you have actually EXIF data with your image, even if you don't display them?
  • yes, i checked the database and there are EXIF data and yes i don't display them in my theme!
  • Hi guys,

    Did you fix this? i have the same issue but just in the albums tabs (sub albums)

    Thanks!
Sign In or Register to comment.