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.

killed cpanellogd leaves huge log files that crash server

Discussion in 'General Discussion' started by undercrimson, Nov 19, 2007.

  1. undercrimson

    undercrimson Registered

    Joined:
    Aug 2, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Since I run a single-user dedicated server, I killed cpanellogd. Now I'm finding that about once a day at random times, the server crashes with an error of "file size limit exceeded." I think it's processing one of the cpanellogd log files. I'm also finding there is something taking up gigs of space in /usr . Any ideas?
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Do you have log files on the server that are approaching 1 GB in size? If so, that can cause issues.
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    The file system limit is usually 2 GBs.

    Killing cpanellogd means many of the logs created by various processes are not being rotated. This can be resolved by looking in /usr/local/cpanel/cpanellogd for the list of logs and adding that list to the logrotate configuration. Or just re-enabling cpanellogd
     
Loading...

Share This Page