ImageMagick Policy Configuration

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
konstantin
Posts: 50
Joined: 2013-08-07T13:50:31-07:00
Authentication code: 6789

ImageMagick Policy Configuration

Post by konstantin »

I increased the settings "area" and "memory" in the /usr/local/etc/ImageMagick-7/policy.xml file, but I still get the same error message, exactly:

Code: Select all

magick: unable to extend pixel cache `Siker' @ fatal/cache.c/CacheSignalHandler/3182.
"Siker" simply means "success" in my native language and the "locale" settings of my Linux system is set to my native language. However I don't know how can that word is getting to that place.

Code: Select all

<policymap>
  <!-- <policy domain="resource" name="temporary-path" value="/tmp"/> -->
  <!-- <policy domain="resource" name="memory" value="4GiB"/> -->
  <!-- <policy domain="resource" name="map" value="4GiB"/> -->
  <!-- <policy domain="resource" name="width" value="10MP"/> -->
  <!-- <policy domain="resource" name="height" value="10MP"/> -->
  <!-- <policy domain="resource" name="area" value="2GB"/> -->
  <!-- <policy domain="resource" name="disk" value="16EB"/> -->
  <!-- <policy domain="resource" name="file" value="768"/> -->
  <!-- <policy domain="resource" name="thread" value="1"/> -->
  <!-- <policy domain="resource" name="throttle" value="0"/> -->
  <!-- <policy domain="resource" name="time" value="3600"/> -->
  <!-- <policy domain="system" name="precision" value="6"/> -->
  <policy domain="cache" name="shared-secret" value="passphrase"/>
</policymap>

User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: ImageMagick Policy Configuration

Post by fmw42 »

Replies to Announcements are discouraged. In the future, please post a new topic to Users or Developers or other relevant forums.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: ImageMagick Policy Configuration

Post by magick »

Its likely you are writing the pixels to /tmp which is running out of space. Use another area on your disk that has plenty of free space (see temporary-path in the policy.xml file.
Post Reply