How to resize the tmp directory on cPanel
To resize your /tmp directory, please follow the steps below:
1) Increase the size in the /scripts/securetmp directory and then copy paste the commands below.
2) Type:
service mysql stop
service httpd stop
umount /var/tmp
umount /tmp
rm -rf /usr/tmpDSK
/scripts/securetmp –auto
service mysql start
service httpd start
df -h
3) Then ‘reboot’ your server in most cases.