Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jul 2003
    Posts
    49

    Default stop all kind of updating

    Hello everyone

    how to stop cpanel from updating awstats and updating bandwidth ?

    maybe stupid question by we have 1500+ accounts on server and maybe 5% of users check awstats so why do we need to update them at all ??

    I have enabled "Enable users to update awstats from cpanel" and everybody are happy

    but it looks like cpanel tries to update them again and again.. I always see /usr/local/cpanel/cpanellogd running and updating stats

    How to stop that ?

    Also I think cpanellogd also updates bandwidth usage yes?

    So how to stop it ?

    I will run /scripts/cleanbw once per 5 days via cron. I don't want to update bandwidth every day when load is high making it more high. and I will not die is someone will waste 100 mb over the limit but we will save a huge part of server cpu resources.

    I have checked that the server load when cpanellogd is sleeping is 1-2 (note we host over 1500 domains) and when it is running load goes to 6-8.. (yes, it have to be so, because cpanel must process 1500 accounts but is it worth when only 5% of domain owners are interested in stats and 5% of all accounts use more that 500 mb bandwidth per month??)

    Thanks for reading, all comments are welcome.

  2. #2
    Member
    Join Date
    Aug 2003
    Location
    Palma de Mallorca
    Posts
    31

    Default

    There's a variable in /usr/local/cpanel/cpanellogd:

    $skipawstats = 0;

    Maybe if you turn it to 1, cpanellod will not upgrade awstats.

    Jaime

  3. #3
    Member
    Join Date
    Jul 2003
    Posts
    49

    Default

    I think 0 - false 1 - true

    or how ?

    I see $skipwebalizer = 0; at /usr/local/cpanel/cpanellogd
    and we don't have webalizer

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    May 2003
    Location
    Ukraine
    Posts
    195
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    This is good question.
    I have the same situation with 2000+ domains and cpanellogd is very costly for resources.

    I'd like to keep bandwidth updated (or to know how to do it manually) but cpanellog to stop at all.

    Anybody knows solution?
    Regards, Alexey

Similar Threads & Tags
Similar threads

  1. stop updating of the Squirrelmail
    By bennet in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-10-2007, 06:09 PM
  2. maillog stop updating...
    By lomo in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-17-2006, 07:44 AM
  3. cPanel update - stop mysql updating
    By demomen in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-08-2006, 12:18 AM
  4. Stop updating DBI.pm
    By randomuser in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-06-2005, 07:22 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube