Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Logs - How large is large?

Discussion in 'General Discussion' started by tntmom5, Feb 25, 2004.

  1. tntmom5

    tntmom5 Member

    Joined:
    Mar 27, 2003
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    NJ
    Hi all,
    I need some clarification on logs. I still have so much to learn about administrating a server. I wish my data center had totally managed servers, but maybe someday. One of my areas that needs clarifying is how large are large logs.

    I noticed my CPU spiking over 5 during backup the past couple of mornings. I have found that this will often happen when the domlogs for a particular domain get rather large. I have no problem resetting the domlogs as needed, but I need clarification on a few others.

    Here are a few of the logs that have grow. I don't know which are safe to clear out.

    /var/log secure.tntgibson.com 105,036,158
    /var/log exim_maillog.1.gz 4,398,870
    /var/log lastlog 19,136,220
    /var/log chkservd.log 8,222,437
    /usr/local/apache/logs ssl_engine_log 10,236,012
    /usr/local/apache/logs suexe_log 3,045,947

    I cleared out the access_log and error_log. I used the command:

    cp /dev/null error_log

    Any other tips on logs or general server maintenance is greatly appreciated.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice