Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Dec 2007
    Posts
    119

    Default bandwidth in awstats and whm/cpanel are different

    hi,

    an account was suspended by system due over bandwidth it can use,

    i check from whm and cpanel,

    the bandwidth it used is really over his package and been suspended by system,



    but i check the awstats from whm,

    the value of used bandwidth is little,


    why the used bandwidth are different? and which one will be correct?



    thanks

  2. #2
    cPanel Staff cPanelJesse's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    35

    Default

    The usage in awstats can missing certain things downloaded/viewed as well as miss data because of it not running a day. Normally it is close to being as accurate as the bandwidth usage, however, that is not always the case.
    Technical Analyst III
    --
    Migrating to cPanel from another control panel?
    http://www.cpanel.net/migrations-to-cpanel.html

  3. #3
    Member
    Join Date
    Jun 2002
    Posts
    137

    Default

    sorry to dig up an old thread, but what kind of downloaded/viewed traffic is not included in awstats?

    i have an account showing 140GB of traffic (http only) in Cpanel's bandwidth, but showing close to 60GB in Awstats.

    Any help appreciated!

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Dec 2003
    Location
    Athens/GREECE
    Posts
    180
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Hello,

    After the 11.25 upgrade, in some servers WHM showed double bandwidth usage than the normal one. This might be your case; cPanel gave me a fotfix script that corrected this issue, open a ticket at https://tickets.cpanel.net/ so they can see if this is your case too and provide you the hotfix.
    Sincerely,

    George Vardikos
    HyperHosting Internet Services

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Dec 2003
    Location
    Athens/GREECE
    Posts
    180
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    You can check if this is your case by running the following via SSH:

    Code:
    cd /scripts
    wget http://httpupdate.cpanel.net/autofixer/check_bwdaily
    chmod +x check_bwdaily
    ./check_bwdaily --all
    If the script reports different results between the normal bandwidth and the one shown, then run the following:

    Code:
    cd /scripts
    wget http://httpupdate.cpanel.net/autofixer/correct_bwdaily
    chmod +x correct_bwdaily
    ./correct_bwdaily --all
    After the last command, run /scripts/check_bwdaily --all again to see if the problem has vanished. If the problem is gone, then allow several hours for the normal bandwidth to be shown in cPanel and WHM.

    Let me know if that helps.
    Sincerely,

    George Vardikos
    HyperHosting Internet Services

  6. #6
    Member
    Join Date
    Jun 2002
    Posts
    137

    Default

    Hi,

    Yes, many of my domain names have doubled bandwidth usage.

    I have all my servers running cPanel 11.25.0-R42213 - WHM 11.25.0 and a mix of Centos4 an 5, all i386, and pretty much all domains have 18 inconsistencies. Only those domain names I don't set bandwidth limit aren't having this problem.

    Will this be fixed soon? or should I be running correct_bwdaily daily for now?

    Thank you for your help!

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Dec 2003
    Location
    Athens/GREECE
    Posts
    180
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Since you have this problem, you can safely run correct_bwdaily. Of course you can wait until this fix has made its way through the normal update system, however this might take a while. Please note that this problem affects only December, when January kicks in the problem will not be shown, also note that if you decide not to run it make sure you've enabled Tweak Settings -> Disable Suspending accounts that exceed their bandwidth limit to prevent any false suspensions due to accounts reaching their bandwidth limit.
    Sincerely,

    George Vardikos
    HyperHosting Internet Services

Similar Threads & Tags
Similar threads

  1. Bandwidth higher in awstats then in cPanel bandwidth
    By manokiss in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-21-2010, 01:40 PM
  2. cpanel bandwidth and awstats - difference by 20GB normal?
    By internetfab in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-20-2008, 05:11 AM
  3. bandwidth differences (cpanel & awstats)
    By consultorpc in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 03-23-2006, 10:13 AM
  4. bandwidth differences (whm and awstats)
    By horatio in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-03-2003, 11:22 PM
  5. Awstats and Bandwidth
    By Website Rob in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-11-2003, 02:50 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube