$TMPDIR filling up with ImageMagick files
- Product: Rosetta
- Product Version: 6.0
Symptoms
Server path /exlibris/dps/d4_1/tmp is filling with ImageMagick thumbnail files named like "magick-XXXXXXX".
In some situations, ImageMagick is using environment variable $TMPDIR and not the usual convert_temp directory (usually /operational_shared/operational_delivery_shared/convert_temp)
Solution
- setup a cron job to clean files from /exlibris/dps/d4_1/tmp older than x days
OR
- change ImageMagick policy.xml file in /exlibris/product/ImageMagick-6.6.1-10/lib/ImageMagick-6.6.1/config/policy.xml, un-comment temporary-path resource in <policymap> to:
<policy domain="resource" name="temporary-path" value="/FULL PATH TO DESIRED DIRECTORY"/>
- Article last edited: 19-AUG-2019