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!

Disk is full all sites are down

Discussion in 'Workarounds and Optimization' started by Johnny Cyon, Mar 20, 2016.

  1. Johnny Cyon

    Johnny Cyon Member

    Joined:
    Mar 20, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Hertzlich
    cPanel Access Level:
    Root Administrator
    im on digital ocean server using cpanel and all my sites are down showing

    Error establishing a database connection

    (about 10) and i can see that all the disk space is full (all of the 80GB) i tried restarting the mysql restart services and still dont work i am sure there are many stuff in there that is unuseful and dont know how to get to where i delete the files i tried from SQL Services »Manage Databases and still dont work i get this message >>

    Code:
    Sorry for the inconvenience!
    The filesystem mounted at / on this server is running out of disk space. cPanel operations have been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition.
    
    i got them warnings via mail and didnt know what to do with them since the sites kept working and now its a mess

    so am in need of desperate help to save my sites whoever can help shall be blessed from the skys
     

    Attached Files:

    #1 Johnny Cyon, Mar 20, 2016
    Last edited by a moderator: Mar 20, 2016
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    720
    Likes Received:
    123
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    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.

    Code:
    #  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.

    Code:
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    604
    Likes Received:
    43
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    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
    Code:
    cd /
    du -sch *
    
    the above command will show the all folders and files size which are under / partition.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,167
    Likes Received:
    1,933
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice