I was using Image Fupload for bulk upload of images to my gallery oriented site. And suddenly i was warned by my host provider that some script (image fupload meant) is leaving images in var/tmp folder and it causes performance problems for server.
Unfortunately this folder var/tmp is not accessible to me as a user, since i don't have a root access. So I can't delete those files manually. Now the only option I have is to modify the Image Upload script in order to make him saving temp files in another location that I will have an access to.

Did anyone encountered the similar issues ? Any ideas how to overcome this?

Comments

grandcat’s picture

No, it doesn't keep any files there. You should run cron.php more often. This will delete older, unused files automatically.

dsnydernc’s picture

It uses the file system default tmp folder, so yes it certainly could be dumping files to var/tmp.... you can change the location of your tmp folder to be inside your home directory, but var/tmp, outside publicly accessible folders is a good place to keep it.
and yes, advice is correct. Run cron on a regular basis to delete tmp files. if you aren't familiar with how to setup cron, install the poormanscron module.

davide1982’s picture

Thanks you, davidsnyder@me.com !

"... you can change the location of your tmp folder to be inside your home directory"

can I do it myself or it should be set up by host provider upon my request ?

grandcat’s picture

Priority: Critical » Normal
grandcat’s picture

Status: Active » Fixed
jaspervp’s picture

You can change this in drupal. Look under admin/settings/file-system.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

vaccinemedia’s picture

Actually I am having this issue too and running cron is not deleting the files and now /var/tmp is full. Rebooting the server will remove these files but that's the last thing I want to do.

vaccinemedia’s picture

Hold that reply - cron didn't work immediately but now the temporary files have gone.....