Results 1 to 12 of 12
  1. #1

    Drive Space Warning on server

    I have about 205GB space and hardly used 50GB, I have started to receive this mesage from cpanel

    "Drive Space Warning on server"..

    I just checked the "Disk Usage Information" through WHM, here it is below..

    /dev/sda1 99M 21M 73M 23% /boot
    /dev/sda2 9.7G 2.6G 6.7G 29% /var
    /dev/sda3 9.7G 8.2G 1.1G 89% /usr
    /dev/sda5 2.0G 382M 1.5G 21% /
    /dev/sda6 996M 41M 904M 5% /tmp
    /dev/sda8 202G 42G 150G 22% /home
    how can I fix this ?..cheers

    /dev/sda3 9.7G 8.2G 1.1G 89% /usr

  2. #2
    Try to check the size of the error_logs and access_logs on the servers and try to empty them.

    cd /usr/local/apache/logs
    #ls -sh error_logs
    #ls -sh access_logs

    check here if size in gb for error_logs and access_logs then try to empty them

    #echo > error_logs
    #echo > access_logs
    Support Facility | 24/7 web hosting technical support services
    Technical support | Server management | Data migration

    Technical Articles

  3. #3
    Join Date
    May 2004
    Location
    UK
    Posts
    610
    It is most likely to do with server logs, try clearing them out and see if you are still receiving these warnings from cPanel.

  4. #4
    Join Date
    Dec 2007
    Location
    Indiana, USA
    Posts
    16,087
    Go into WHM and go to Service Configuration -> Apache Configuration -> Log Rotation.

    Check all of the boxes and this will keep your server logs smaller and keep them from filling up that drive.

    Go to Service Configuration -> cPanel Log Rotation Configuration.

    Check all of these boxes as well for the same effect on other drives.
    Michael Denney - MDDHosting LLC
    New shared plans for 2016! Check them out!
    Highly Available Shared, Premium, Reseller, and VPS
    http://www.mddhosting.com/

  5. #5
    Join Date
    Jun 2008
    Posts
    405
    All the logs and awstats processed logs take a toll on the space. You can delete it all by doing this in ssh[

    cd /usr/local/apache/logs
    echo > error_logs
    echo > access_logs

  6. #6
    Quote Originally Posted by inspiron View Post
    Try to check the size of the error_logs and access_logs on the servers and try to empty them.

    cd /usr/local/apache/logs
    #ls -sh error_logs
    #ls -sh access_logs

    check here if size in gb for error_logs and access_logs then try to empty them

    #echo > error_logs
    #echo > access_logs
    Thanks, but I am not expert in this field, can you please tell me if there is a way to delete all logs OR view logssize through WHM ?..

    Quote Originally Posted by MikeDVB View Post
    Go into WHM and go to Service Configuration -> Apache Configuration -> Log Rotation.

    Check all of the boxes and this will keep your server logs smaller and keep them from filling up that drive.

    Go to Service Configuration -> cPanel Log Rotation Configuration.

    Check all of these boxes as well for the same effect on other drives.
    Thanks I did this. cheers

    Quote Originally Posted by arbershosting View Post
    All the logs and awstats processed logs take a toll on the space. You can delete it all by doing this in ssh[
    Is this possible through WHM ? or any web interface ?..

    cheers

  7. #7
    Join Date
    Dec 2007
    Location
    Indiana, USA
    Posts
    16,087
    Deleting those files is not possible within any web portal unless you have a java-based SSH client of some sort.

    Checking those boxes to rotate those files should clear this up for you however you may need to give it 12 to 24 hours. It doesn't look like you're at risk of running out of space in the next 24 hours anyways.
    Michael Denney - MDDHosting LLC
    New shared plans for 2016! Check them out!
    Highly Available Shared, Premium, Reseller, and VPS
    http://www.mddhosting.com/

  8. #8
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    563
    Quote Originally Posted by MikeDVB View Post
    Deleting those files is not possible within any web portal unless you have a java-based SSH client of some sort.

    Checking those boxes to rotate those files should clear this up for you however you may need to give it 12 to 24 hours. It doesn't look like you're at risk of running out of space in the next 24 hours anyways.
    Note that log rotation does not delete logs, it just archives old logs indefinitely. However, log rotation does make the process of discarding old logs easier.

    There are some third-party WHM plugins that add file management capabilities to WHM. However, you need to use the command-line to install such third-party plugins.
    David Grega
    cPanel Technical Product Specialist

  9. #9
    Join Date
    Nov 2006
    Location
    Pune, India
    Posts
    1,417
    Quote Originally Posted by cPanelDavidG View Post
    Note that log rotation does not delete logs, it just archives old logs indefinitely. However, log rotation does make the process of discarding old logs easier.

    There are some third-party WHM plugins that add file management capabilities to WHM. However, you need to use the command-line to install such third-party plugins.
    Something like ConfigServer File Manager , or FileMan would be worth looking into for this.
    ConfigServer File Manager can be installed within a min, by just pasting the provided commands.
    LeapSwitch Networks Pvt. Ltd. - Managed VPS / Dedicated Servers India
    ASN 132335 - India - USA - Spain - Portugal - Ukraine - Germany
    █ Shared, Reseller, VPS, Dedicated Servers, Colocation
    Pay via - PayPal, Payza, Skrill, Credit/Debit Cards (USD / INR)

  10. #10
    Join Date
    Nov 2002
    Location
    WebHostingTalk
    Posts
    8,878
    * Moved to Technical and Security Issues....

    Sirius
    I support the Human Rights Campaign!
    Moving to the Tampa, Florida area? Check out life in the suburbs in Trinity, Florida.

  11. #11
    Join Date
    Sep 2004
    Location
    India
    Posts
    222
    Hi,

    Check temp files and remove them. Check and remove unwanted log files which are using lots of space. Also, check and see if there is big file stored like backup files etc..
    Thanks,
    Netedge Technology 24x7 webhosting support, Monthly server management, Dedicated support.
    Nelichso Live chat support software

  12. #12
    Join Date
    Nov 2007
    Location
    India
    Posts
    843
    /dev/sda3 9.7G 8.2G 1.1G 89% /usr has been full please check that folder
    HostNotch Hosting Services 99.9% uptime Shared Hosting, Reseller Hosting
    yajur | Sales Team
    CPanel Hosting R1 Soft Offsite-Backup Great Uptime
    http://hostnotch.com sales @ hostnotch.com

Similar Threads

  1. WHM/Cpane: Disable or change drive space warning
    By ytjohn in forum Hosting Software and Control Panels
    Replies: 2
    Last Post: 02-01-2009, 06:22 AM
  2. Disable Drive Space Warning Emails
    By jumpinjack in forum Hosting Security and Technology
    Replies: 1
    Last Post: 05-20-2008, 04:16 AM
  3. Looking for Unmetered Server and High Drive Space
    By gdtechind in forum Dedicated Server
    Replies: 8
    Last Post: 11-08-2006, 01:31 PM
  4. Drive Space Warning Question
    By uniquelinks in forum Dedicated Server
    Replies: 1
    Last Post: 04-19-2006, 02:57 AM
  5. Replies: 5
    Last Post: 06-09-2004, 06:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •