Applies to: All versions of Ephesoft Transact on Linux
Issue
When processing large batch instances, the drive may run out of space. This can cause ImageMagick processes to slow, lockup, or fail.
Root Cause
By default, ImageMagick uses the Linux default temp (/tmp
) defined by Linux system environment variables.
Solution
Change the ImageMagick temporary location to a preferred location.
- Navigate to [Ephesoft_Directory]/Ephesoft/JavaAppServer/bin.
- Locate and backup the setenv.sh file.
- Open the setenv.sh file with your editor.
- Add the following line at the end of the file:
export MAGICK_TEMPORARY_PATH=<new file path>
For example, if you want to move the ImageMagick path to /opt/Ephesoft/ImageMagickTest, then enter:
export MAGICK_TEMPORARY_PATH=/opt/Ephesoft/ImageMagickTest
Figure 1. setenv.sh File
- Restart Transact.
- Create a new batch instance and confirm the new ImageMagick location. New ImageMagick conversions will appear in the updated path.
Figure 2. New ImageMagick Location
The post Issue with ImageMagick Filling Temp Folders on Linux appeared first on Ephesoft Docs.