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 is full all sites are down

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

  1. Johnny Cyon

    Johnny Cyon Registered

    Joined:
    Mar 20, 2016
    Messages:
    1
    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:
    275
    Likes Received:
    31
    Trophy Points:
    28
    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
     
  3. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    318
    Likes Received:
    23
    Trophy Points:
    18
    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.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page