- Home
-
Store
- Browse All
- SHARED HOSTING
- VPS SERVER
- DEDICATED SERVER
- DATABSE HOSTING
- RESELLER HOSTING
- EMAIL HOSTING
- FTP HOSTING
- Hosting Addons
- SSL Certificates
- Weebly Website Builder
- SiteLock
- Email Spam Filtering
- CodeGuard
- SSL Certificates
- Website Builder
- Website Security
- E-mail Services
- Website Backup
- SEO Tools
- Site Builder
- VPN
- Professional Email
- XOVI NOW
- Register a New Domain
- Transfer Domains to Us
- Announcements
- Knowledgebase
- Network Status
- Contact Us
-
More
Categories
Categories
Tag Cloud
Resizing/Expanding tmp Partition Print
- Resizing/Expanding tmp Partition
- 0
Excellent guidelines on how to resize or expand a tmp partition. Learn step by step to do it yourself.
The default tmp folder size for lunix operating systems is often 512mb (including cPanel installations).
To check the size of the tmp partition use
df -h
For some VPS's this is inadequate and a full tmp directory can cause all sorts of problems.
Resizing the tmp partition is easy.
Log in via console or SSH and do the following -
Edit the file
/scripts/securetmp
Find the line
my $tmpdsksize = 512000;
To change this to 2GB, modify this to:
my $tmpdsksize = 2097152;
Save the file, then run the following commands:
umount -l /tmp
umount -l /var/tmp
rm -fv /usr/tmpDSK
/scripts/securetmp
Type "y" to the yes/no questions asked.
To check the new size of the tmp partition use
df -h