Mogrify - 100% CPU Usage

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
omcreations
Posts: 2
Joined: 2011-11-03T10:15:47-07:00
Authentication code: 8675308

Mogrify - 100% CPU Usage

Post by omcreations »

I have an issue where Mogrify is using 100% of the CPU. This isn't just on a single server, but different servers, and VPS's. The command that I'm using is mogrify -resize 640x480 -quality 80% ./temp/Property/*

I don't see anything wrong with the command, but such high CPU usage isn't a good sign. On average, there can be anywhere between a few hundred images getting processed, to several thousand.

Version: ImageMagic 6.7.1-1 2011-08-03 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP

Any suggestions on how to resolve this?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Mogrify - 100% CPU Usage

Post by anthony »

What type of images are they? PDF's?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
omcreations
Posts: 2
Joined: 2011-11-03T10:15:47-07:00
Authentication code: 8675308

Re: Mogrify - 100% CPU Usage

Post by omcreations »

They are all jpgs. For the most part 640x480px, converting to thumbnails 150x112
Post Reply