![]() |
|
Thumbnail creation failure: cache resources exhausted - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Thumbnail creation failure: cache resources exhausted (/thread-13397.html) |
Thumbnail creation failure: cache resources exhausted - davidarnoult - 2020-04-26 Hi, When I use imagemagick, for some large images, I have this error. I have modified my php settings for large images: When I swith to GD, it works. I thought that Imagemagick was more adequate to process large images ;-) Debug message Album: [ 1950-1959/1950 ], Image: [ 1950-0001-0001.JPG ] Image filesize: 12550409 Debug i.php | Arguments: Request URI: [ /zp-core/i.php?a=1950-1959/1950&i=1950-0001-0001.JPG&w=180&cw=0&ch=0&q=85&wmk=!&check=64197171ba4daca336bdf93a25d30dd15f236f38&debug ] cacheImage(/1950-1959/1950/1950-0001-0001_w180.jpg) exception: cache resources exhausted `/server_path/albums/1950-1959/1950/1950-0001-0001.JPG' @ error/cache.c/OpenPixelCache/4083 Any idea where I missed something about OpenPixelCache/4083? Thanks Thumbnail creation failure: cache resources exhausted - davidarnoult - 2020-04-26 For information, updating /etc/ImageMagick-6/policy.xml did the trick (Debian 10)... especially these settings:
I just share this as you might encounter the same problem with large files! Thumbnail creation failure: cache resources exhausted - acrylian - 2020-04-26
Interestingly not always. I remember similar reports that GD works better sometimes. We can add the above to our user guide entry but most users will not be able to update those configs unless they have their own virtual/dedicated server (e.g. we on our own server). |