The default setting for disk size in the script
is about 512 MB.
This is pretty useless for any real world server with a website that gets any amount of meaningful traffic.
I went into the script and changed the value in the following line:
Then I executed the usual commands:
Then I do the "df -h" and it shows me this:
Why is it "996M" when I specified 2GB? It should be close to 2000M right?
Any tips welcome. Thanks.
Code:
/scripts/securetmp
This is pretty useless for any real world server with a website that gets any amount of meaningful traffic.
I went into the script and changed the value in the following line:
Code:
#---- my $tmpdsksize = 512000; # Must be larger than 250000
my $tmpdsksize = 2097152;; # Must be larger than 250000
Code:
lsof /tmp
umount -l /tmp
umount -l /var/tmp
rm -fv /usr/tmpDSK
/scripts/securetmp
Code:
/dev/sda8 ext3 996M 509M 436M 54% /tmp
Why is it "996M" when I specified 2GB? It should be close to 2000M right?
Any tips welcome. Thanks.
Last edited: