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.

domlogs rotation

Discussion in 'General Discussion' started by electron33, Jun 21, 2004.

  1. electron33

    electron33 Well-Known Member

    Joined:
    Feb 24, 2004
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    Does cPanel rotate/recycle /usr/local/apache/domlogs ?

    or, do I have to do it myself?

    Thanks
     
  2. AlexF

    AlexF Well-Known Member

    Joined:
    Nov 20, 2003
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    16
    cPanel will handle that for you if you set it under WHM>Tweak Settings (look for Delete each domain's access logs after stats run). ;)
     
  3. electron33

    electron33 Well-Known Member

    Joined:
    Feb 24, 2004
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    16
    Thanks AlexF,

    What I don't know now is the intervals at which this is done. I use Urchin, and it uses domlogs files. Is there any settings/scheduling for this.

    I looked in the documentation and all it says is "After web statistics are calculated for a domain name delete the access logs for that domain"

    When are stats calculated?

    Cheers
     
  4. AlexF

    AlexF Well-Known Member

    Joined:
    Nov 20, 2003
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    16
    The only time I used Urchin is when I had a VPS (many years ago). Check to see your if your Urchin config file has a setting on that or perhaps a cron job for urchin.

    Sorry I could not be of more help on this issue.
     
  5. electron33

    electron33 Well-Known Member

    Joined:
    Feb 24, 2004
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    16
    Thanks pal,

    You helped more than I'd expected.

    All the best ;)
     
  6. AlexF

    AlexF Well-Known Member

    Joined:
    Nov 20, 2003
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    16
    Glad to be of help! :)
     
  7. myusername

    myusername Well-Known Member
    PartnerNOC

    Joined:
    Mar 6, 2003
    Messages:
    691
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    chown -R us.*yourbase*
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    electron33,

    You and Iseem to be looking for the same thing here.

    So far as I can tell they are part of /scripts/upcp

    Let me know if you believe this to be incorrect.

    It sounds like you are trying to rotate them instead of delete them after they run which is what I am trying to do. i have them rotating now, but not right after stats runs so there is some latency in the stats programs.

    Let us know if you find anything.
     
  8. Roy@ENHOST

    Roy@ENHOST Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    495
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Los Angeles California
    Thank you!

    I didn't even realize a couple of my power users on my server are generating more than 3 GBs of domlogs. HOpe enabling that feature will helpa little bit.

     
  9. myusername

    myusername Well-Known Member
    PartnerNOC

    Joined:
    Mar 6, 2003
    Messages:
    691
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    chown -R us.*yourbase*
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    3 gigs?

    Our machines start to flake out right around 2 gigs. never ever had one at three, the server would not work correctly after 2.2
     
Loading...

Share This Page