/tmp going readonly on cpanel

When ever the /tmp is read only all of PHP scripts on the server will occurred an error.

This is the simple solutions to solve it

1. Kill of process used /tmp by using:

lsof /tmp

2. Umount the /tmp partition

umount -l /tmp
umount -l /var/tmp

3. Remove the corrupt partition file:

rm -fv /usr/tmpDSK

4. Create new /tmp partition using cpanel script: