Results 1 to 10 of 12
-
24th Jun 2012, 06:14 AM #1OPMember
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
tmpfs 5.9G 0 5.9G 0% /dev/shm
/usr/tmpDSK 485M 15M 445M 4% /tmpm1rr0z Reviewed by m1rr0z 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
-
24th Jun 2012, 06:15 AM #2
-
24th Jun 2012, 06:23 AM #3OPMember
Thank you for reply, I do delete logs..but only decrease few MB's..
theres is a cpanel account used more than 150GB..all logs associated with this account is already empty..but still I can't find any GB's files in this account..weird for me.. any WHM/cPanel expert here??..
-
24th Jun 2012, 06:36 AM #4Member
delete awstat data in some wrost cases they can take upto 10Gb space
-
24th Jun 2012, 06:40 AM #5Member
what do you host there on your vps? only sites?
-
24th Jun 2012, 06:49 AM #6OPMember
-
24th Jun 2012, 06:56 AM #7
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
-
24th Jun 2012, 06:59 AM #8Member
try this command in ssh
du -sh /usr/*
this will give u detail of size taking directory
also try this
du
-
24th Jun 2012, 07:08 AM #9Member
clear /tmp
-
24th Jun 2012, 09:19 AM #10BannedWebsite's:
corerdp.comDear m1rr0z,
This is one of the main problem most of us face when using linux hosting.
I suggest you to consult your hosting provider, they will help you out.
Best Regards,
Dansh
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
themaManager - edit and manage...
Version 4.18 released. Open older version (or...