/usr Partition at 100% and I have no clue how to fix it

Discussion in 'Site & Server Administration' started by mg3hockey, Apr 5, 2010.

  1. #1
    Hey guys,


    I am in dire need of some help. On my server the /usr is at 100%. I can no longer open any files or make any changes to existing accounts because of this.

    I do not add anything to this partition so it has to be some kind of log file...I just do not know where to located it and delete it in SSH.

    Does anyone have any thoughts as to what it might be?

    If you do, could you also tell me how to stop this from ever happening again?

    Thank you
    Michael
     
    mg3hockey, Apr 5, 2010 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    There are all kinds of reasons why the partition may be full. Do you run a control panel on the server? What is the output of this:

    df -h 
    Code (markup):
    If needed, PM me more info, and I can take a look for you.

    Chris
     
    RHS-Chris, Apr 5, 2010 IP
  3. mg3hockey

    mg3hockey Active Member

    Messages:
    438
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #3
    I have checked the domlogs and I can remember the guy who fixed the problem before said I had a huge dom log, but when I am in the /domlogs folder it will not let me delete them because they are not files but folders so I do not know how to delete them
     
    mg3hockey, Apr 5, 2010 IP
  4. ChrisMiller

    ChrisMiller Prominent Member

    Messages:
    1,934
    Likes Received:
    81
    Best Answers:
    0
    Trophy Points:
    315
    #4
    Do you have it enabled for like if you run out of ram it starts dumping the memory onto your HardDrive because that can cause this problems sometimes?
     
    ChrisMiller, Apr 5, 2010 IP
  5. Shauni

    Shauni Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    cd /usr/local/apache/domlogs/
    rm -rf *
    be sure not to mistype
     
    Shauni, Apr 6, 2010 IP
  6. mg3hockey

    mg3hockey Active Member

    Messages:
    438
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #6
    just restarted apache and that cleared everything :)

    thanks guys!
     
    mg3hockey, Apr 6, 2010 IP