ROOT[~]# killall tailwatchd
ROOT[~]# service httpd stop
ROOT[~]# service mysql stop
Check to make sure that nothing else is using /tmp and kill any processes that is using it
ROOT[~]# lsof | grep /tmp
ROOT[~]# umount /tmp
At this point you're going to want to modify the /scripts/securetmp file using nano.
ROOT[~]# nano /scripts/securetmp
Search for $tmpdsksize
CTRL+W >> $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.5FB
4194000 = 4GB
Save the file and exit.
CTRL+X >> Save the changes by selecting "Yes".
Implement the changes
ROOT[~]# rm /usr/tmpDSK
Run the script /scripts/securetmp
Clean up and get things going again
Change into the /tmp directory and create a symbolic link to /var/lib/mysql/mysql.sock
ROOT[~]# cd /tmp; ln -s /var/lib/mysql/mysql.sock
ROOT[~]# service mysql start
ROOT[~]# service httpd start