Skip to main content
ExLibris

Knowledge Assistant

BETA
  • Subscribe by RSS
  • Back
    Rosetta

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Rosetta
    3. Knowledge Articles
    4. $TMPDIR filling up with ImageMagick files

    $TMPDIR filling up with ImageMagick files

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Symptoms
    2. Solution
    • 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
    View article in the Exlibris Knowledge Center
    1. Back to top
      • "You were disconnected due to inactivity. Please reconnect" message
      • 3.2.2 Install overriding Linux LANG Setting
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Content Type
      Knowledge Article
      Language
      English
      Product
      Rosetta
    2. Tags
      1. ImageMagick
      2. Rosetta
      3. Temporary Location
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved