Stats Generation Help

Discussion in 'Site & Server Administration' started by serverplans, Jun 24, 2008.

  1. #1
    Hello,
    My Quad Core Xeon Server is showing this error in cPanel:

    The server is having trouble keeping up with your statistics processing schedule. You should increase the time between statistic generation, or upgrade the server. If you have recently decreased the time between statistic generation, you may wish to wait that amount of time to see if the server will catch up before changing back.

    In top I notice cpanellogd running and using 95% CPU during the whole day.


    Thanks
     
    serverplans, Jun 24, 2008 IP
  2. Afazelpoor

    Afazelpoor Guest

    Messages:
    292
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Had same issue, best way is to change the updates to daily, if you can stop the current process it would be helpful in doing the stats, also you can just disable it if you don't need it. How many sites are you hosting? do you have enough RAM?
     
    Afazelpoor, Jun 24, 2008 IP
  3. serverplans

    serverplans Peon

    Messages:
    57
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I have 4Gb RAM.
    I have changed it to 48 hours.
     
    serverplans, Jun 24, 2008 IP
  4. Afazelpoor

    Afazelpoor Guest

    Messages:
    292
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    And still having same issue? did you stop the process? how often do you have stats scheduled, the only time I had such issue when I was running a proxy and had too many visitors and stats wasn't able to keep up.
     
    Afazelpoor, Jun 24, 2008 IP
  5. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #5
    Whenever you get this error in WHM, you can run the stats manually using the below command:

    /scripts/runlogsnow

    It is advisable to run this command during night hours as it will increase the server load slightly.

    Regards,

    Kailash
     
    kailash, Jun 24, 2008 IP
  6. serverplans

    serverplans Peon

    Messages:
    57
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks for your help guys :)
     
    serverplans, Jun 24, 2008 IP