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.

logrotate rotating domlogs

Discussion in 'General Discussion' started by Nickw, Apr 9, 2008.

  1. Nickw

    Nickw Member

    Joined:
    Jun 26, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    This is my first post so please be gental :)

    As of around a month ago, logrotate recently started rotating the domlogs. I've searched this forum and found that logrotate shouldn't go anywhere near the domlogs. This is causing logrotate to sit at 100% cpu usage 24/7, and often several logrotate processes backing up.

    I've not mad any config changes to tell logrotate to include the domlogs, i don't even know how to configure logrotate :)

    Some info below:

    "/home/domlogs/xn--yfr985h.xn--nckwdpcxc0b.jp-bytes_log.offset.2.gz.1.gz" 2008-4-6
    "/home/domlogs/xn--yfr985h.xn--nckwdpcxc0b.jp-bytes_log.offset.1.gz.1.gz.1.gz" 2008-4-6
    "/home/domlogs/xn--yfr05rhu5a.xn--nckwdpcxc0b.jp-bytes_log.offset.2.gz.1.gz" 2008-4-6
    "/home/domlogs/xn--yfr05rhu5a.xn--nckwdpcxc0b.jp-bytes_log.offset.1.gz.1.gz.1.gz" 2008-4-6
    "/home/domlogs/xn--oev38o.xn--nckwdpcxc0b.jp-bytes_log.offset.2.gz.1.gz" 2008-4-6
    "/home/domlogs/xn--oev38o.xn--nckwdpcxc0b.jp-bytes_log.offset.1.gz.1.gz.1.gz" 2008-4-6
    "/home/domlogs/xn--nckwdpcxc0b.hewkin.net-bytes_log.offset.2.gz.1.gz" 2008-4-6
    "/home/domlogs/xn--nckwdpcxc0b.hewkin.net-bytes_log.offset.1.gz.1.gz.1.gz" 2008-4-6
    "/home/domlogs/xn--lck0gzb.xn--nckwdpcxc0b.jp-bytes_log.offset.2.gz.1.gz" 2008-4-6
    "/home/domlogs/xn--lck0gzb.xn--nckwdpcxc0b.jp-bytes_log.offset.1.gz.1.gz.1.gz" 2008-4-6
    "/home/domlogs/woodnstonelandscapes.co.uk.1.gz" 2008-4-6
    "/home/domlogs/woodnstonelandscapes.co.uk-bytes_log.1.gz" 2008-4-6
    "/home/domlogs/wildtr-popbytes_log.offset" 2008-4-6
    "/home/domlogs/vonned-popbytes_log.offset" 2008-4-6
    "/home/domlogs/uriel.org.uk.2.gz.1.gz" 2008-4-6
    "/home/domlogs/uriel.org.uk-bytes_log.2.gz.1.gz" 2008-4-6


    " Press ? for keyboard shortcuts
    " Sorted by name (.bak,~,.o,.h,.info,.swp,.obj at end of list)
    "= /etc/logrotate.d/
    ../
    bfd/
    acpid
    apf
    cups
    exim
    mgetty
    mysql
    named
    psacct
    rpm
    syslog
    up2date
    yum


    # see "man logrotate" for details
    # rotate log files weekly
    weekly

    # keep 4 weeks worth of backlogs
    rotate 4

    # create new (empty) log files after rotating old ones
    create

    # uncomment this if you want your log files compressed
    #compress

    # RPM packages drop log rotation information into this directory
    include /etc/logrotate.d

    # no packages own wtmp -- we'll rotate them here
    /var/log/wtmp {
    monthly
    create 0664 root utmp
    rotate 1
    }

    # system-specific logs may be also be configured here.



    Many thanks for any help on this.

    Nick
     
Loading...

Share This Page