Closed (fixed)
Project:
Image FUpload
Version:
6.x-3.0-rc2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2009 at 11:11 UTC
Updated:
29 Feb 2012 at 11:00 UTC
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
Comment #1
grandcat commentedNo, it doesn't keep any files there. You should run cron.php more often. This will delete older, unused files automatically.
Comment #2
dsnydernc commentedIt 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.
Comment #3
davide1982 commentedThanks 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 ?
Comment #4
grandcat commentedComment #5
grandcat commentedComment #6
jaspervp commentedYou can change this in drupal. Look under admin/settings/file-system.
Comment #8
vaccinemedia commentedActually 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.
Comment #9
vaccinemedia commentedHold that reply - cron didn't work immediately but now the temporary files have gone.....