Several files in the TMP folder  [SOLVED]

General discussions around KeyHelp.
Post Reply
User avatar
rogernet
KeyHelp Translator
Posts: 28
Joined: Tue 3. Nov 2020, 20:56
Location: Brazil
Contact:

Several files in the TMP folder

Post by rogernet »

One of my websites installed on my KeyHelp is filling up the “tmp” folder, which is outside the “www” folder. In a short time, it reaches 2GB of various files similar to this one: “magick-_FCzN8xKQyVrFOlp7oNAtWu296e9FTZQ.” I have already analyzed the website files, but so far I have not been able to solve this mystery.

Could someone help me?

Thanks.
User avatar
Alexander
Keyweb AG
Posts: 4749
Joined: Wed 20. Jan 2016, 02:23

Re: Several files in the TMP folder  [SOLVED]

Post by Alexander »

They seems to be temporary files of some kind of image generation coming from the PHP image generation extension (ImageMagick).

KeyHelp may help to keep the folder clean, have a look at
KeyHelp Admin Area -> Maintenance Intervals -> Perform cleanup operations
and the corresponding configuration settings (click on the cog icon)

A bit outdated but have a look at the second post: https://github.com/ImageMagick/ImageMagick/issues/395
You may can fix the issue by increasing the memory_limit of the particular user
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
rogernet
KeyHelp Translator
Posts: 28
Joined: Tue 3. Nov 2020, 20:56
Location: Brazil
Contact:

Re: Several files in the TMP folder

Post by rogernet »

Thank you, Alexander, for responding. I discovered that when users uploaded large images through the website's administrative panel, ImageMagick generated many of these files. I advised the client not to upload very large files, as they had been uploading JPG files larger than 10MB. After giving them this advice, I had no further problems.
Post Reply