lot of temp magick files created in temporary folder

前端 未结 3 1028
走了就别回头了
走了就别回头了 2021-01-07 10:23

I am using the imagick library to resizing and cropping the images in a http handler. Which doesn\'t write anything in /tmp folder. But as i can a lot of these

3条回答
  •  离开以前
    2021-01-07 10:36

    You can set a cron which runs in a day or after an hour cleaning up your temp folder for all temporary magick files. you can use this on line command to delete all magick files as well

    sudo find /tmp/ -name "magick-*" -type f -delete

提交回复
热议问题