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.

urgent help on disk space

Discussion in 'General Discussion' started by shann, Apr 3, 2006.

  1. shann

    shann Well-Known Member

    Joined:
    Jul 5, 2002
    Messages:
    366
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Website Owner
    Hello,

    We are getting these error messages on our system. What files can be delete?

    The filesystem mounted at / on this server is running out of disk space. cPanel operation has been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition.

    [/]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/hda1 1.5G 1.5G 0 100% / ->>>>>>>>>>
    /dev/hda7 52G 45G 8.8G 84% /home
    /dev/hda6 486M 7.3M 462M 2% /tmp
    /dev/hda2 7.2G 2.4G 4.5G 40% /usr

    Pleease help.
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    What OS are you running?
     
  3. shann

    shann Well-Known Member

    Joined:
    Jul 5, 2002
    Messages:
    366
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Website Owner
  4. shann

    shann Well-Known Member

    Joined:
    Jul 5, 2002
    Messages:
    366
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Website Owner
    Hi,

    How do we check what are the directories belong to /?

    thanks
     
  5. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    Unless you've already chosen to remove it, there will be an application running called laus (linux audit subsystem).

    It stores some large log files which build up over time - sounds like this is the case for you. On my first CentOS 3.x server laus was eating up about 20meg per day in logs. Not much on their own, but it builds up quick.

    Check if you have a directory /var/log/audit.d - if so, you'll have laus and this will be where it stores it's logs. You should see that the logs take up a fair amount of room.

    Instructions for removing laus and it's logs can be found here: http://forums.cpanel.net/showpost.php?p=209739&postcount=3
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You'll either have to trawl the directories yourself from / that aren't mounted as separate partitions, or simply get help from a server admin if you don't know what you can remove.

    One of the most common reasons I see for / becoming full is either huge files being created in /root or a second /backup disk not being mounted and the backups being created under the /backup directory which is used for the mountpoint.
     
  7. shann

    shann Well-Known Member

    Joined:
    Jul 5, 2002
    Messages:
    366
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Website Owner
    Hi,

    There is no such a dirctory or file called audit.d. I have cleaned up few files from root directory and still having problem.

    Are there any suggestions? thanks in advance.
     
Loading...

Share This Page