I'm using imagemagick through phpthumb.
Up until a few days ago it was working fine.
i haven't changed anything in the code of my website and nothing in phpthumb. the amount of work imagemagick has to do hasn't changed since the amount of traffic is roughly the same.
over night, I started to get huge server loads, alomst crashing my server.
the website is on a dedicated server.
could a server setting cause this problem?
i'm using phpthumb just to generate thumbnails
Imagemagick causing huge server load. Pls help
Re: Imagemagick causing huge server load. Pls help
i forgot to mention the fact that images are very small...200 kB at max
Re: Imagemagick causing huge server load. Pls help
Type
- convert -version
Re: Imagemagick causing huge server load. Pls help
OpenMP is NOT listed as a feature.
the output says:
Version: ImageMAgick 6.0.7 08/25/10 q16 http://www.imagemagick.org
Copyright: Copyright (c) 1999-2004 ImageMAgick Studio LLC
the output says:
Version: ImageMAgick 6.0.7 08/25/10 q16 http://www.imagemagick.org
Copyright: Copyright (c) 1999-2004 ImageMAgick Studio LLC
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Imagemagick causing huge server load. Pls help
I cannot say why it suddenly is not working, but your 6.0.7 version is about 580 versions old. Perhaps it is time to upgrade to the current version at 6.6.5.2 as many many bug fixes and improvements have been made since your version.
Re: Imagemagick causing huge server load. Pls help
I suspect it could be some server settings...maybe permissions...maybe other things of this sort
do you know any server settings that might cause this issue.
i've seen it asked a few times on the web...but with no real solution
do you know any server settings that might cause this issue.
i've seen it asked a few times on the web...but with no real solution
Re: Imagemagick causing huge server load. Pls help
I see that my imagemagick works on 16-bit...
my images are all 8-bit
how can i change from Q16 to Q8 without recompiling the whole thing?
(i'm not an expert in linux so pls be gentle
)
my images are all 8-bit
how can i change from Q16 to Q8 without recompiling the whole thing?
(i'm not an expert in linux so pls be gentle

- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Imagemagick causing huge server load. Pls help
I don't know that you can change Q16 to Q8 without recompiling, but I am no expert on that.
But you can force your output images to 8-bits by adding -depth 8 to your commands before the output image.
But you can force your output images to 8-bits by adding -depth 8 to your commands before the output image.