Markus Blog What’s going on Internet?

19Nov/081

Changing /tmp Partition Size on CPanel Server

Today one of my server have its /tmp partition is full and causing problems such as failed MySQL database query or Fantastico stop working because they can't write temporary file. Here is the solution I found on CPanel's forum:

lsof /tmp

Then umount /tmp and /var/tmp:

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

Then remove the old partition file:

rm -fv /usr/tmpDSK

Then create a new one:

/scripts/securetmp
Tagged as: , 1 Comment