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.

Service Status Help please

Discussion in 'General Discussion' started by tinky, Jun 13, 2009.

  1. tinky

    tinky Registered

    Joined:
    Jun 13, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi everyone,

    I am very new to all of this and am wondering if someone can help me.

    When I go to service status this is what comes up..


    [​IMG]

    What do I need to do to fix the problem please
     
  2. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    The partition holding "/var" on your server is almost full or you
    recently deleted large files that haven't been released yet.
     
  3. tinky

    tinky Registered

    Joined:
    Jun 13, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for your answer

    I need to release files cause I deleted a lot of stuff just recently.

    How do I go about this?

    Thanks
     
  4. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    I actually just posted on this very same topic just a couple days ago
    so you could just look at my posts and pull the details from that,
    you'll have all you need or just private message me and I'll tell
    you the command you need to run but that avoids redundancy.
     
  5. PlatinumServerM

    PlatinumServerM Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2005
    Messages:
    397
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    New Jersey, USA
    cPanel Access Level:
    Root Administrator
    Usually clearing the mail queue and system logs helps reduce /var but if you are not sure how to do this please do not arbitrarily runs commands. Ask your host to do it for you because deleting a wrong file can do some serious damage.
     
  6. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    You mean like "rm -Rf /"? :D

    (To everyone else reading this -- that was a joke! Don't actually run that command !!!!)
     
    #6 Spiral, Jun 14, 2009
    Last edited: Jun 14, 2009
  7. InstaCarma_Tech

    InstaCarma_Tech Well-Known Member

    Joined:
    Apr 22, 2009
    Messages:
    228
    Likes Received:
    1
    Trophy Points:
    18
    Here are a few tips to clear out some space in /var

    ====================================
    1. Restart the mysql service.

    2. Log files in /var/log like exim_mainlog, mailmon.log, messages, mysqld.log, mysql_slow_queries.log can be deleted after taking backups of the required ones..

    Note that there is no point in deleting these log files if the size is very small. Check whether deleting these would make any difference.

    If you are deleting them then do re-create the files, or you can use the command ‘echo ” ” > logfile’ to empty the existing files.

    3. Clear Mysql logs like server-name.err or any other present in /var/lib/mysql

    4. Delete mysql-bin.000* file in /var/lib/mysql, if present.

    5. There might be useless large .sql files in /var/lib/mysql . Delete them.

    6. Remove unwanted emails from spool. You can use the following code to do that :

    Code:
     exim -bpc
        exim -bpru | grep frozen | awk {’print $3′}|xargs exim -Mrm
        exim -bpru | grep “<>” | awk {’print $3′}|xargs exim -Mrm
        exim -bpru | grep “nobody” | awk {’print $3′}|xargs exim -Mrm
        exim -bpru|awk {’print $3′}|xargs exim -Mrm
        exiqgrep -o 86400 -i | xargs exim -Mrm
        exim -bpc
    7. There might be yum cache files inside the /var/cache folder which can take space. To remove them do:
    Code:
    #  yum clear all
    #  yum list all
    8. Search and remove any core files ( core dump ) like core.12* etc.

    ====================================

    If you have already deleted the files and it is still showing up high usage then refer to Spiral's post at http://forums.cpanel.net/f5/i-get-robbed-who-stole-my-disk-space-121197.html
     
Loading...

Share This Page