I've fully cached my live site using cacheManager. I've noticed when I go to test it that thumbnails in certain albums are loading super slow, with some albums taking multiple attempts to fully load. When I look into the individual album cache folders, I noticed that the contents are being deleted and then recreated. So what once had all the images cached, will, after usually a few attempts to get the page to fully load, have only the newly created thumbnails.
This doesn't seem to be affecting albums with only a few images, I've been noticing it on those that contain 25 images or more.
When I look as a page loads in albums with problems, as the thumbnails go through i.php they are all taking a long time to load, and many of those then start getting "HTTP/2 500 Internal Server Error" in the console.
As some of the thumbnails start to show 500 errors, they will also show the following in Firefox-
NS_BINDING_ABORTED
or
NS_ERROR_NET_INTERRUPT
or
NS_BINDING_REDIRECTED
When I look at the actual server logs, I'm getting hundreds of-
SoftException in Application.cpp:690: Could not execute script "/host/zenphoto/zp-core/i.php", referer: https://domain.com/
I've checked permissions on the files and folders, and they seem to be okay. I checked .htaccess and it is the default 1.4.12 version installed by Zenphoto. I'm not running Obscure Cache Filename, Protect Image Cache, Secure Image Processing, or IPTC Imbedding.
The Debug log shows nothing. This is on 1.5.7 and I'm using Imagick.
I've set the memory_limit to 256M in php.ini (which is the max for my host).
I've tested this in Safari (14.0.3), Chrome (89.0.4389.114), and Firefox (87.0)
Running &debug on the thumbnails with problems loading seems to show nothing special-
Image filesize: 1791921
Debug i.php | Arguments:
size = 250
width =
height =
cw = 0
ch = 0
cx =
cy =
quality = 85
thumb = 1
crop =
Any ideas on why the image processor is going through and deleting the cache by album and reloading everything? If it has an issue loading something, it seems it shouldn't delete all the cache files. That is only making a slow problem slower.