/tmp/magick-xxxxx write full of disk space,how to stop this

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
youbinliu
Posts: 5
Joined: 2014-10-16T03:40:54-07:00
Authentication code: 6789

/tmp/magick-xxxxx write full of disk space,how to stop this

Post by youbinliu »

I use imagemaigck to process image,but it creates too many tmp files.
now my disk space is full,and imagemagick says crash,because of lack of space
my imagemagick version is Version: ImageMagick 6.7.9-0 2012-08-31 Q16
please help me ,how to stop this????
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: /tmp/magick-xxxxx write full of disk space,how to stop

Post by snibgo »

When IM finishes normally it should delete any temporary files it created. As part of normal housekeeping, you should delete any files in tmp.
snibgo's IM pages: im.snibgo.com
youbinliu
Posts: 5
Joined: 2014-10-16T03:40:54-07:00
Authentication code: 6789

Re: /tmp/magick-xxxxx write full of disk space,how to stop

Post by youbinliu »

snibgo wrote:When IM finishes normally it should delete any temporary files it created. As part of normal housekeeping, you should delete any files in tmp.
if I use latest version of IM, can it finsh this problem?
I find some solutions online. limit resource? cronjob?
has any official solutions?
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: /tmp/magick-xxxxx write full of disk space,how to stop

Post by Bonzo »

What platform and language are you using for Imagemagick?
youbinliu
Posts: 5
Joined: 2014-10-16T03:40:54-07:00
Authentication code: 6789

Re: /tmp/magick-xxxxx write full of disk space,how to stop

Post by youbinliu »

Bonzo wrote:What platform and language are you using for Imagemagick?
Linux 2.6.32_1-12-0-0 #1 SMP Mon Aug 12 17:59:52 CST 2013 x86_64 x86_64 x86_64 GNU/Linux
magick++ and magicCore
C++
Post Reply