Results 1 to 6 of 6
  1. #1
    Join Date
    May 2002
    Location
    USA
    Posts
    490

    Drive Warning: /hda3 (/var) is 90% full

    Hello,

    I received an email from the server staying the following:

    Drive Warning: /hda3 (/var) is 90% full

    This seems to happen perhaps once per 1 to 1.5 months and it is becoming agrevating. Any suggestions are very welcomed!

    Thanks and God Bless!
    David Garza
    CCF Web Hosting - Where Customers Come First!
    Phone: 1.630.885.9009 | Email: david(a)ccfhosting.com
    MSN: dgarza(a)ccfhosting.com | AIM: CCF DGarza | ICQ: 51140109

  2. #2
    Join Date
    Jun 2003
    Location
    Texas
    Posts
    453
    Check the /var/logs and remove any unwanted/needed logs. Also goto edit settings in WHM (if you run cpanel) and see if its set to keep logs afterwords.
    ................

  3. #3
    Could also be your mail queue. /var/spool/exim/input

    You can check that by going into your WHM and click on Manage Mail queue.
    Like us on Facebook to qualify for discounts!
    http://www.sprintserve.net
    Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | Wordpress Hosting |
    Services: | Managed Multiple Cores 64bit Servers | Server Management |

  4. #4
    Join Date
    Jan 2004
    Location
    Greece
    Posts
    2,123
    If you have an open relay smtp then someone can use your server to send e-mails and your mail queue could be some GigaBytes.

  5. #5
    Join Date
    Jun 2003
    Location
    Kansas City
    Posts
    7
    Code:
    #!/bin/bash
    
    /bin/mkdir -p /home/backup/tmp/
    cd /var/log
    /bin/tar -cvf /home/backup/tmp/oldlogfiles.tar *.? |gzip -9
    /bin/mv /home/backup/tmp/oldlogfiles.tar.gz /home/backup/oldlogfiles
    rm /var/log/*.?

    That should package every rotated logfile up, compress the heck out of it and dump it in /home/backup for ya. =)

    It'll probabally take a bit of tweaking since I just typed that out.

    Also, check and see where your drive usage is,

    cd /var; du -h |less
    Now go through that and find where all your usage is, if it's not in /var/log/messages, then the above bash script isn't going to help too much.

  6. #6
    Join Date
    May 2002
    Location
    USA
    Posts
    490
    Once i run that, will that cause all logs on the server to disappear for clients?

    Thanks and God Bless!
    David Garza
    CCF Web Hosting - Where Customers Come First!
    Phone: 1.630.885.9009 | Email: david(a)ccfhosting.com
    MSN: dgarza(a)ccfhosting.com | AIM: CCF DGarza | ICQ: 51140109

Posting Permissions

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