Skip to main content

Disk usage critical issue

Comments

3 comments

  • Eminds
    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.
    0
  • 24x7server
    / has 20gb and only 2gb free. df -h:
    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.

    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.
    0
  • cPanelMichael
    Hello, The following document is a good place to start when attempting to determine what's taking up most of your space: How to Manage your Hard Drive Space - cPanel Knowledge Base - cPanel Documentation Let us know which directories are taking up the most space. Thank you.
    0

Please sign in to leave a comment.