Huge Magick-XX files creation

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
B.D

Huge Magick-XX files creation

Post by B.D »

Hello.

I am using ImageMagick 6.3.8 on my server, which provides quick thumbnails of several pictures on the same page of my website. Many requests to ImageMagick can happen.

Problem is, sometimes, ImageMagick creates large Magick-XX files (40-80Mb each one, it can go up to a total of 4GB) that are consuming heavy resources. Due to policy on my server, apache restarts and I have to remove those files with a script at reboot.

I couldn't identify why this is happening.

Does anybody have an idea ? Can this possibly be fixed in the latest version (change version requires extensive test phase, so I want to be sure of that) ?

Thanks by advance.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Huge Magick-XX files creation

Post by magick »

See http://www.imagemagick.org/script/architecture.php. You probably want to set some resource limits. In addition you can set site policies with recent versions of ImageMagick. Just edit policy.xml.
Post Reply