System Notice - Tmp folder

valentinkaradakov2337

New Member
YetiShare User
Mar 25, 2013
9
0
0
Hello all!
I have a problem with tmp folder:

ERROR:

Your server tmp folder only has -987,140 KB, yet your max file upload is 1.50 GB. Please contact your host to increase.
 

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
Do you use cpanel/whm?

INSTRUCTIONS BELOW WILL ONLY WORK IF YOU USE cPanel/WHM CONTROL PANEL
If you do then you need to edit the file /scripts/securetmp in ssh

Search for $tmpdsksize
It must be larger than 250000, as the comment says. Don't accidentally delete the semi-colon " ; ".
$tmpdsksize is in KB. Common values are:
2097152 = 2GB
3146000 = 3GB
3670000 = 3.5GB
4194000 = 4GB

Then run the following commands in ssh

killall tailwatchd
service mysql stop
service httpd stop
lsof | grep /tmp
umount /var/tmp
umount /tmp
rm -rf /usr/tmpDSK
/scripts/securetmp
service mysql start
service httpd start
/scripts/restartsrv_tailwatchd
df -h
 

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
Try

CentOS use tmpfs for /tmp. Check your /etc/fstab for a line like this :

tmpfs /tmp tmpfs size=4g 0 0

and change the size accordingly.

OR

There's another file (/etc/default/tmpfs) you can use

TMP_SIZE=2G
 

caruzer

New Member
YetiShare User
Apr 16, 2013
1
0
0
It seems I have the same problem on my server uploads abort after 20MB during the upload process but without any error or info notice.
Where in Ubuntu with Plesk can I increase the size for my tmp folder?
I tried the suggestions above, without success.
/etc/default/tmpfs - I found this folders and the file but the adding of TMP_SIZE=2G have no success.

Thanks in advance
 

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
You might be better asking on the Ubuntu forums as I know nothing about Ubuntu or how the file structure is on that linux OS

Or try this.

http://tech.shantanugoel.com/2009/02/10/tip-ubuntu-1-mb-tmp-partition-problem.html
 

aggoni072007

New Member
YetiShare User
Reservo User
Jan 1, 1970
53
0
0
by info2410 » 19 Apr 2013 13:51
It seems I have the same problem on my server uploads abort after 20MB during the upload process but without any error or info notice.
Turn off Fast CGI

Thats worked for me