Activity Stream
48,167 MEMBERS
6719 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1.     
    #1
    Member

    Unhappy 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% /tmp
    m1rr0z 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

  2.   Sponsored Links

  3.     
    #2
    Member
    Delete logs, they too take a lot of space.


  4.     
    #3
    Member
    Quote Originally Posted by Black Pearl View Post
    Delete logs, they too take a lot of space.
    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??..

  5.     
    #4
    Member
    delete awstat data in some wrost cases they can take upto 10Gb space

  6.     
    #5
    Member
    what do you host there on your vps? only sites?

  7.     
    #6
    Member
    Quote Originally Posted by Cometolearn View Post
    delete awstat data in some wrost cases they can take upto 10Gb space
    awstat data is empty already but still..

    Quote Originally Posted by masterbator View Post
    what do you host there on your vps? only sites?
    yes, only sites..

  8.     
    #7
    Respected Member
    Bharat's Avatar
    Website's:
    ShineServers.Com Pickadedi.com
    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

  9.     
    #8
    Member
    try this command in ssh

    du -sh /usr/*


    this will give u detail of size taking directory

    also try this

    du

  10.     
    #9
    Member
    clear /tmp

  11.     
    #10
    Banned
    Website's:
    corerdp.com
    Dear 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

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. what is the best fourm to use and save some Disk Space
    By Th3KiNG in forum Polling Plaza
    Replies: 29
    Last Post: 2nd Nov 2011, 08:48 PM
  2. running out of space
    By chaudhary9 in forum File Host Discussion
    Replies: 12
    Last Post: 14th May 2011, 06:30 AM
  3. Disk Space in server
    By downloadsmasti in forum Server Management
    Replies: 12
    Last Post: 12th Apr 2011, 07:10 PM
  4. VPS and Rappidleech Disk Space different
    By zyberakuma in forum Server Management
    Replies: 2
    Last Post: 2nd Mar 2011, 10:02 AM
  5. More Disk Space OR More Bandwidth?
    By ipowerz in forum Hosting Discussion
    Replies: 2
    Last Post: 8th Dec 2010, 08:27 AM

Tags for this Thread

BE SOCIAL