Bandwidth issues, still got the blues.

techark

Well-Known Member
May 22, 2002
280
0
316
OK this is a new one.

A sites cpanel shows 578 meg used
WHM shows 278 meg used.
Awstats etc shows 278 meg used.

Site suspends for being over bandwidth of 550 meg allocated.

So where is Cpanel getting it's number from and why is it suspending based on what the sites cpanel shows and not WHM?
 

haze

Well-Known Member
Dec 21, 2001
1,547
3
318
I'd drop a bug report regarding the discrepancy with the cpanel and whm listing. Awstats will show a different number, this is a given as awstats only monitors http traffic.

Report a bug here: http://bugzilla.cpanel.net

( you may also need to lodge a ticket with cpanel so as to provide access to the server so that this can be confirmed by them )
 

casey

Well-Known Member
Jan 17, 2003
2,298
0
191
As an interesting note, AWStats does not monitor all httpd traffic. It does not catch robot traffic. I had a client get suspended the other day. When I checked the access logs, it had millions of hits from the googlebot to a single cgi file. AWStats said the bandwidth used was like 2 megabytes, but the actual usage was more than 10 Gigs. I blocked the googlebot IP from that particular cgi and everything went back to normal.
 

amal

Well-Known Member
Nov 22, 2003
155
0
166
India
cPanel Access Level
Root Administrator
techark said:
OK this is a new one.

A sites cpanel shows 578 meg used
WHM shows 278 meg used.
Awstats etc shows 278 meg used.

Site suspends for being over bandwidth of 550 meg allocated.

So where is Cpanel getting it's number from and why is it suspending based on what the sites cpanel shows and not WHM?
Check /var/cpanel/users/$user

NOTE: Do take a backup of this file befor editing.

where $user is the username of this particular user, and check whether there is a multiple entry for a domain or subdomain. If there is any remove it, and run /scripts/runweblogs. This should fix it in most cases.. :)
 

amal

Well-Known Member
Nov 22, 2003
155
0
166
India
cPanel Access Level
Root Administrator
casey said:
As an interesting note, AWStats does not monitor all httpd traffic. It does not catch robot traffic. I had a client get suspended the other day. When I checked the access logs, it had millions of hits from the googlebot to a single cgi file. AWStats said the bandwidth used was like 2 megabytes, but the actual usage was more than 10 Gigs. I blocked the googlebot IP from that particular cgi and everything went back to normal.
Hmmm, awstats does have a section for google bots. But it doesn't seem to be functioning effectively. Or maybe they are spoofed google bots..