Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2002
    Posts
    82

    Disk hda2 (/usr) DMA+ 100%

    Disk hda2 (/usr) DMA+ 100%
    How can I bring this down?

    I've tried removing the Apache logs through rm -rf /usr/local/apache/domlogs/*
    But its only brought it down to 98%

  2. #2
    Join Date
    Dec 2001
    Location
    NYC, NY
    Posts
    798
    the correct way to remove logs from apache if its running is to copy /dev/null into them

    cp /dev/null logFile
    Blog your life away
    http://photoblog.com

  3. #3
    Join Date
    May 2002
    Location
    UK
    Posts
    1,616
    Try taking a look in /usr/local/apache/logs and /usr/local/cpanel/logs to see if there are any large files in there.

    A useful tip for checking the largest files in dir's where there could be many is to use the command below which will sort in order of size with largest appearing last:

    ls -lhr *

    If you want to remove a log file, don't rm it, use this command:

    echo > logfilename
    Clook Internet - www.clook.net
    Fully managed UK based webhosting provider
    Est 2002, 24/7 phone support, all the bells and whistles!

Posting Permissions

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