ImageMagick crashing server – Error 503
-
Hey guys,
Just recently installed ImageMagick on my installation of WordPress. I am forced to use the command line executable as I’m using a shared server (ionos) instead of the PHP module.
Because of this, site health does not show ImageMagick as active and recommends installing.
However, I’m pretty sure it’s working as the quality of my regenerated thumbnail and scaled images is improved.
The problem I’m running into is that, when running the Regenerate Thumbnails plugin, after about 170 images, the log starts to error out 503 and then completely tanks my website. It’s inaccessible, going to far as to show the “placeholder” website that says the site was just registered.
I can contact my host and then they are able to reset it for me, but this just keeps happening. I’ve crashed the server 5 times today trying to regenerate all of my thumbnails.
Mind you, my images are very large (28mb each source, scaled to about 1.5mb each at 3250px).
I’m assuming I’m running into a memory or cache issue or.. something. But I’m not sure how to tell.
I’ve messed with policy.xml on the ImageMagick install and set a memory limit of 768MiB, thinking that may be the cause, but it didn’t seem to help. From what php_info tells me, I have 800mb available memory for my part of the server. I’ve also set maximum memory request to 528MiB and maximum disk size to 8GiB.
In reality, I don’t know if that helps or what it really does. I’m new to this entirely.
If anyone could share some help, I would greatly appreciate it.
- The topic ‘ImageMagick crashing server – Error 503’ is closed to new replies.