Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Disk usage critical issue

Discussion in 'General Discussion' started by Chivi Basualdo, Sep 24, 2017.

Tags:
  1. Chivi Basualdo

    Joined:
    Nov 26, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Santa Fe, Santa Fe, Argentina
    cPanel Access Level:
    Website Owner
    / has 20gb and only 2gb free.

    df -h:
    Code:
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/sda2        20G   18G  802M  96% /
    devtmpfs         63G     0   63G   0% /dev
    tmpfs            63G  1.7M   63G   1% /dev/shm
    tmpfs            63G  154M   63G   1% /run
    tmpfs            63G     0   63G   0% /sys/fs/cgroup
    /dev/sda1       510M  136K  510M   1% /boot/efi
    /dev/sda3       1.7T  311G  1.3T  20% /home2
    tmpfs            13G     0   13G   0% /run/user/0
    /dev/loop0      3.9G   85M  3.6G   3% /tmp
    
    Could you please advise what I can do to reduce the disk usage on /?
    var/log has just 700mb. I'm using litespeed and memcached.

    /usr/tmpDSK is using 4gb. It would be great if I can delete this file but I'm not sure if it is safe to do it.
     
    #1 Chivi Basualdo, Sep 24, 2017
    Last edited by a moderator: Sep 24, 2017
  2. Eminds

    Eminds Well-Known Member

    Joined:
    Nov 10, 2016
    Messages:
    211
    Likes Received:
    13
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    login to the server with root and use the command du -sh * and it will show you all the folder list with huge size then you can analyse the things accordingly.
     
  3. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,484
    Likes Received:
    60
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    You will have to move the tmpDSK to the /home2 directory that is other big disk. this will release 4 GB of space from it..
    To go further, you will also need to check log locations:

    /usr/local/apache/logs
    /usr/local/cpanel/logs
    and logs in the /var location.

    You will have to move them to /home2 and then link it up properly.. This will release some of the data..

    Check the MySQL directory in /var/lib and see how much disk space it is using and if it is more, plan it on moving it to /home2 also.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page