Heavy imagick script halts all other imagick scripts...
Posted: 2009-05-24T08:25:00-07:00
I am running imagick on a apache server. I have some php scripts that I use to manipulate some images localy on the server. I also use imagick when users upload images to the server, to make thumnails and web friendly sizes of some images.
I've noticed that when I run a heavy image script localy on the server, all other imagick using scripts stall, until the heavy script is done. Shouldn't apache make several "instances" of imagick and run them more or less at the same time?
As it is now, I can always skip the heavy scripts, but what worries me is what happens if alot of users upload images at the same time, and the imagick script have to wait for each other.
I've noticed that when I run a heavy image script localy on the server, all other imagick using scripts stall, until the heavy script is done. Shouldn't apache make several "instances" of imagick and run them more or less at the same time?
As it is now, I can always skip the heavy scripts, but what worries me is what happens if alot of users upload images at the same time, and the imagick script have to wait for each other.