Results 1 to 10 of 12
Hybrid View
-
24th Jun 2012, 06:56 AM #1
Hmm seems your /tmp is full , it can cause this problem ... Do the following and see if its fixed .
You need to have root access to your server. If not, you can’t increase the size of /tmp and /var/tmp partition directory, sorry.
Shutdown httpd and mysql using these commands
Code:service httpd stop service mysql stop
First, you need to edit the file securetmp in /usr/local/cpanel/scripts/ folder.
Code:nano /usr/local/cpanel/scripts/securetmp
As default the size for tmp is 512 MB , just make it something that is convenient to you .
In /usr/local/cpanel/scripts/securetmp file, look for a line like this:
my $tmpdsksize = 512000; # Must be larger than 250000
and change it to
my $tmpdsksize = 2097152; # Must be larger than 250000
This will allow us to allot 2GB of space size for the tmp partition.
Now, you need to log in to SSH using root account to make the changes. Once you are in, run these commands one by one.
Code:umount -l /tmp umount -l /var/tmp rm -fv /usr/tmpDSK /usr/local/cpanel/scripts/securetmp
Then Restart the server :-
Code:shutdown -r 0
Now when the server is fully restarted, you can check the partitions using the following command.
Code:df -h
Bharat Reviewed by Bharat on . Server is running out of disk space! Hello, I need help to clean my VPS from unwanted files.. I use WHM/Cpanel and I don't understand how an account can reach over 150GB data stored when I can't see even 1GB of file size on it..could be hidden data? pls help.. root@vinge # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 192G 182G 304M 100% / /dev/sda1 99M 24M 70M 26% /boot Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
what is the best fourm to use and save some Disk Space
By Th3KiNG in forum Polling PlazaReplies: 29Last Post: 2nd Nov 2011, 08:48 PM -
running out of space
By chaudhary9 in forum File Host DiscussionReplies: 12Last Post: 14th May 2011, 06:30 AM -
Disk Space in server
By downloadsmasti in forum Server ManagementReplies: 12Last Post: 12th Apr 2011, 07:10 PM -
VPS and Rappidleech Disk Space different
By zyberakuma in forum Server ManagementReplies: 2Last Post: 2nd Mar 2011, 10:02 AM -
More Disk Space OR More Bandwidth?
By ipowerz in forum Hosting DiscussionReplies: 2Last Post: 8th Dec 2010, 08:27 AM
themaCreator - create posts from...
Version 3.55 released. Open older version (or...