Skip to main content

Disk is full all sites are down

Comments

3 comments

  • User Avatar
    Jcats
    Log into SSH and narrow down the usage. I usually do something like this, then go into the largest folders and keep using that command to narrow it down.
    # du -sh /* --exclude proc --exclude virtfs |grep [0-9]G
    There are some pretty common files you can remove as well which may be the issue or at least clear up enough space to get you back online for now.
    PHP error_log # find /home/*/public_html/ -type f -name error_log -exec rm {} \; cPanel Backups # find /home/* -type f -iname 'backup-*.tar.gz' -exec rm {} \; Crap mail in default account # rm -rf /home/*/mail/new
    0
  • User Avatar
    SysSachin
    Hello, If you have configured backup on your server then you can remove old backups file and restart the services. Also,Login to server through ssh and run below command
    cd / du -sch *
    the above command will show the all folders and files size which are under / partition.
    0
  • User Avatar
    cPanelMichael
    Hello :) Yes, as mentioned, you should determine what's taking up your disk space and remove any unnecessary files. This document is also helpful: How to Manage your Hard Drive Space - cPanel Knowledge Base - cPanel Documentation Thank you.
    0

Please sign in to leave a comment.