Pre-caching on NAS, takes forever.

Hello,

thanks for this great software.
I have actually installed on my NAS webserver, and takes pictures froma a folder, and it's great.

The only problem, it's extremely slow when it creates thumbnails.
I have only a small cpu and 340Mb php memory.

It takes forever to create a single thumbnail, since i need to have full sized pics available (up to 18 mpxls).

I know it's a known issue, but I really would like to try a solution because its really the best software i found to manage my galleries on my NAS.

I have seen some performance hacks, but these seem old, what could I try?

any advice?
Thanks!

Comments

  • acrylian Administrator, Developer
    As you probably understood it is your server being slow, not Zenphoto.
    http://www.zenphoto.org/news/why-are-some-of-my-thumbnails-sized-images-not-generated-why-does-zenphoto-make-my-server-crash-while-processing-images-

    Solutions are:
    a) Upload smaller images so they are less memory consuming and store these fine data images elsewhere. See the downloadist plugin for example to create downloads of these.

    b) Get a faster server

    Sorry, that's it.

    You could also try to use the Imagick libaryr instead of the GD libary as it is less memory consuming.
  • Thank you for your answer.

    Actually the speed concern is related to other solutions tried before this.
    For example using the Qnap iPhone app (Qmobile, but also Plugmedia) the thumbnail generation is much faster on the same server.

    I would avoid the creation of a reduced size album: i have more than 10.000 and growing full sized pics, plus 2x thumbnails for the iphone app and 2x for zenphoto, it makes more than 50.000 files... and every time i add an album i have to remember to upload it full AND reduced size... too complicated.

    Have also installed Imagemagick, but still can't see the option to enable it.

    A solution i was thinking is to use my home pc quad core cpu for the first thumbnail creation, so that zenphoto can find the entere collection already pre-cached, but don't know if is a good idea...
  • acrylian Administrator, Developer
    I neither do know that app or have an iPhone so I cannot tell why that might be faster.

    Anyway, I told you why that happens. Also Precaching is considered not necessary as Zenphoto does it by itself when requested.

    You could of course do that if you really must before uploading but then you have to generate images for the /cache folder with EXACT the filenames Zenphoto would generate.
Sign In or Register to comment.