imagick icon indicating copy to clipboard operation
imagick copied to clipboard

Support Request: Ghostscript Temporary Files Causing /tmp to Fill During EPS Conversion

Open sastrybitapps opened this issue 5 months ago • 2 comments

Hi Support Team,

I am using PHP Imagick for image resizing and converting images to JPG. Overall, it is working fine. However, I am facing an issue with a few specific EPS files.

When processing these particular EPS files, the conversion takes a long time, and the /tmp folder becomes 100% full due to large gs_* temporary files created by Ghostscript. This grows beyond 10GB, causing the entire application to go down. This issue does not occur for all images—only one or two specific EPS files trigger it.

I have already configured a separate folder for Imagick cache files, but Ghostscript continues to write temporary files to /tmp, which results in the folder filling up.

Could you please check this issue and suggest a fix or any recommended configuration changes to prevent the /tmp folder from reaching full capacity during EPS conversions?

Thank you, L B Sastry

sastrybitapps avatar Nov 25 '25 03:11 sastrybitapps

Sounds more like an upstream issue to me. Can you try it to recreate it with magick command to see if this conversion is slow there as well? What platform is this btw?

bukka avatar Nov 26 '25 19:11 bukka

I assume it's Linux based on /tmp in title actually...

bukka avatar Nov 26 '25 19:11 bukka