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.

Server crash, failures, var partition full

Discussion in 'General Discussion' started by xaze, Nov 25, 2004.

  1. xaze

    xaze Well-Known Member

    Joined:
    Jul 10, 2003
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Holy moly, I woke up this morning and mysql was down... I had to do a gracefull restart to get it back up.

    So, I did it and everything *seems* to be working fine, but when I go into my service status it says the following:

    apache (1.3.33 (Unix)) failed
    bind (9.2.4rc6) failed
    cppop failed
    cpsrvd failed
    ftpd failed
    Disk hda3 (/var) DMA+ 100 %


    What is weird is... I can still ftp and my sites still work, despite apache failing.

    Can someone PLEASE tell me how to fix the following:

    1) The errors / failures

    2) how to make /var < 100% full... Just yesterday 74% full! (1.4 GB of space left)


    I appreciate any help
     
  2. xaze

    xaze Well-Known Member

    Joined:
    Jul 10, 2003
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Okay, I have hit refresh and the failures are gone. How do I make /var less full and what could of filled it up so fast?

    Also, why might mysql have failed?
     
  3. toma1708

    toma1708 Active Member

    Joined:
    Aug 30, 2001
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    var full

    Hi,

    I have noticed the same strange things last 2 weeks, var was filling extremely quickly until the server freezed and needed a reboot. Everything hapened during backup. We will look into this and I will post here if we find anything.

    Catalin
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Probably the best way to determine where your space is going is to use du from the top of the partition as follows:

    cd /var
    du -h --max-depth=1


    Then go into each subdirectory with a large number of files. Check whether they're then at the top level and sort by file size:

    cd log/
    ls -laSh | more


    If nothing large there, check du again at that level:

    du -h --max-depth=1

    Repeat. Be very careful of what you delete - that is, know what you are deleting and its implications. If you don't know, hire someone who does.
     
  5. toma1708

    toma1708 Active Member

    Joined:
    Aug 30, 2001
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    var

    Hi,

    What's very strange is that the var filled extremely quickly or I have received the warning email too late. Do you have an idea if there is a script checking the partitions and where can be modified the checking interval ?

    Catalin
     
  6. eeadmin

    eeadmin Well-Known Member

    Joined:
    Oct 21, 2004
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Dallas, TX
    I also mail log problems

    I sometimes have these same issues lately. The var starts to fill up quite quickly. It is the maillogs. The last two days are 2.5 Gigs each! Is there some way to look at a mail log and figure out what is going on?
     
Loading...

Share This Page