if your server’s tmp is getting filled up very fast and want to increase it.
I give you list of commands and instructions on how to resizing the tmp partition?
Note: this works only on CPanel server.
1- edit the file: /scripts/securetmp
2 – find and change the following value:
5120000 = 512MB
if you want 1GB replace it with: 10240000
2GB : 20480000
3 – now we want to delete the old tmp partition
4 – Then umount /tmp and /var/tmp:
5 – Then remove the corrupt partition file:
6- Then create a new one: (only valid for Cpanel servers)
I give you list of commands and instructions on how to resizing the tmp partition?
Note: this works only on CPanel server.
1- edit the file: /scripts/securetmp
nano /scripts/securetmp
my $tmpdsksize = 5120000; # Must be larger than 250000
if you want 1GB replace it with: 10240000
2GB : 20480000
3 – now we want to delete the old tmp partition
lsof /tmp
umount -l /tmp
umount -l /var/tmp
rm -fv /usr/tmpDSK
/scripts/securetmp
done.
No comments:
Post a Comment