We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

getting too big | Forum

Topic location: Forum home » Support » General Questions
Marcus
Marcus Jul 25
hi folks any inputs on how to reduce or keep userfiles folder size as los as possible. mine is getting way too big. 6gb compressed god knows how big unzipped. i know its photos so this freaking me out case soon im gonna run into 20gb disk space limit. 
The Forum post is edited by Marcus Jul 25
Patricia Zorrilla Leader

The first thing you should do is access:

userfiles / plugins / photo and delete all files starting with tmp *. *

There is a known bug (and that nobody pays attention to) in the photo plugin in which any photo upload that is interrupted by the user, or an error, or one of the photos has too many Kb, that is, the wrong format It results in the interruption of the loading process and leaves files that start with tmp, orphaned because no record in the database points to them and therefore they will never be deleted.

There are other plugins like fbconect that generate thousands of image files in its folder, also watch how much size you have wasted there.


Marcus
Marcus Jul 26
Omg Patricia this is it you just saved my day thanks so much. 
Jonas Dsouza
Jonas Dsouza Jul 27
Yeah. It saved my day too. Thank you so much


The Forum post is edited by dave Jul 27
dave Team
dave Jul 27
Jonus your reply was edited and the url removed. If you spam the forum again your account will be suspended... Thanks
Roma
Roma Sep 9
She saved my day too. Thanks a lot!
dave Team
dave Sep 15

You can also write up a quick cron file to remove older images, just let your users know ahead of time in your terms page that images older than xxx days will be removed automatically.  Dont forget to remove the image and the related db records as well.


And inside this cron file you can also add the removal of all tmp*.* files..


+1 patricia, that is great info, thanks :)