Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Tags
Author: UltratechHost - Replies: 0 - Views: 3653
Resize a /tmp partition
1. Cpanel chkservd
/etc/rc.d/init.d/chkservd stop

2. Apache
/etc/init.d/httpd stop

3. stop mysql server:
# /etc/init.d/mysqld stop

Unmount /tmp. If you’re unable to, you can do an lsof (lsof |grep /tmp) to see what processes are still writing to it, and kill them off. Or do a lazy unmount (umount -l /tmp) .


4. umount -l /tmp
umount -l /var/tmp

5. Then remove the corrupt partition file:
rm -fv /usr/tmpDSK

6. Then create a nice new one:
/scripts/securetmp

7. Restart Apache
/scripts/restart