Performance on Raspberry Pi

Hi,

I recently set up zenphoto as a tool to present my amateur photography, and boy is it INCREDIBLE. Loving it!!

However, the hosting platform is provided by a raspberry pi. And the Pi is being stressed heavily by Zenphoto. A single user accessing my website causes CPU load to spike to 100%, with PHP5 making up up to 90% of it, according to "top". The other day, 3 or 4 people accessed the page simultaneously and it simply crashed entirely..

I got the feeling that a bug or wrong setting is causing this heavy load, since the self-hosting CMS "Lychee" runs as smooth as it gets with minimal CPU load (<5%).

Take a look yourself (but not all at once!):

Zenphoto:

Lychee:

So, is this how Zenphoto normally acts and do I simply have to upgrade my hardware? Or is this poor performance irregular?

The theme is ZPbase, but the standard issue theme ran into the same problems.

Thank you!

PS: This is my third account and attempt at creating a topic. Apparently, the contained links bugged out the thread. Couldnt even edit it. Ill try and put the links as replies to this post.

Comments

  • Links:

    Zenphoto: alexpovel dot de

    Lychee: alexpovel dot de/lychee
  • acrylian Administrator, Developer
    I have no knowledge about Raspery Pi but Zenphoto is aimed at normal (shared) webhosts and normally works fine there. take a look at my own test/demo site on a standard few euro webhost: http://zenphoto.maltem.de

    Not familiar with Lychee either but Zenphoto generates all images like sized images or thumbs on the fly. Other tools may generate predefined sizes on upload so feel faster.

    As far as I know Lychee is not themable so that is easy. On Zenphoto however themes can choose to generate what sizes they need. The dimensions of images are very important here. Take a look here:
    http://www.zenphoto.org/news/problems-with-albums-and-images

    You should also try to enable the html_cache_plugin to speed up your site.
Sign In or Register to comment.