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.

cpanellogd question

Discussion in 'General Discussion' started by bsasninja, Aug 24, 2007.

  1. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    If you stop cpanellogd, then stats will stop logging info? Cause my server is running cpanellogd in rush hours creating high load.
    :(
     
  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
    If you stop cpanellogd, then website statistics will no longer be generated.

    If you do not want stats processing to occur during hours known to have high server loads, simply go to WHM -> Service Configuration -> Statistics Software Configuration and in the bottom-right corner of the page click the "Configure Statistic Process Time Schedule" button. Simply check the hours it should not run, click save. It is best to be very conservative with regards to setting which hours the software is not permitted to run, because if you exclude too many hours your statistics run may never complete and website statistics may not be properly generated for all cPanel accounts on the server.
     
  3. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    perfect, I didnt see that feature. Only need to stop them betweem 15pm and 18pm that are the more high traffic hours.
     
  4. Dante78

    Dante78 Well-Known Member

    Joined:
    May 1, 2010
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6

    I did as you said, but i still have in top... cpanellogd ...

    why is that?

    Ionut
     
  5. Miraenda

    Miraenda Well-Known Member

    Joined:
    Jul 28, 2004
    Messages:
    242
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Coralville, Iowa USA
    The process itself keeps running but it should say "sleeping for logs" at that point instead of actually processing any logs.

    ps aux the process during those times to see what it shows, it should be showing as sleeping (basically, idle). You cannot have the process not run at all, since that would mean it was killed off.

    Here's an example on my machine where it isn't processing logs:

    Code:
    # ps aux|grep cpanellogd
    root     22446  0.0  0.0  6320  632 pts/2    S+   05:34   0:00 grep cpanellogd
    root     26370  0.0  0.1  3820 1720 ?        SN   Jul10   0:00 cpanellogd - sleeping for logs
     
Loading...

Share This Page