I had a problem today when one of the domains on a VPS blew its bandwidth limit.
Or did it...?
You see, according to my webshosts admin page the usage for Feb, for ALL domains on the account, is 18.418GB/40GB.
But according to WHM and CPanel, the main domain has used 29.62 GB.
It's been a long time since I did maths at school, but unless I've somehow caused the spontaneous creation of anti-bandwidth, I think something doesn't add up.
I think CPanel/WHM may have lost the plot here.
You see the main domain has a few subdomains, and it is actually the subdomains that do the real work, and therefore consume most of the bandwidth.
The primary domain (www) is essentially just advertising, and should consume only a small amount of bandwidth, yet looking at the stats it is exceeding the usage of the subdomains.
That just didn't seem right. But then I noticed something. Not only did it exceed the bandwidth of the subdomains but it was roughly equal to the total over all subdomains - plus a little extra.
In other words CPanel is counting all the bandwidth from each subdomain into the main domain and then adding them all up again for the total usage. So everything in the subdomains is counted twice!
The same appears to be the case in WHM.
Has anyone else come across this?
I've lifted the limit in WHM so that the nasty "Bandwidth exceeded" message went away, but I can't help wondering how many others have been tripped up by this.
Or did it...?
You see, according to my webshosts admin page the usage for Feb, for ALL domains on the account, is 18.418GB/40GB.
But according to WHM and CPanel, the main domain has used 29.62 GB.
It's been a long time since I did maths at school, but unless I've somehow caused the spontaneous creation of anti-bandwidth, I think something doesn't add up.
I think CPanel/WHM may have lost the plot here.
You see the main domain has a few subdomains, and it is actually the subdomains that do the real work, and therefore consume most of the bandwidth.
The primary domain (www) is essentially just advertising, and should consume only a small amount of bandwidth, yet looking at the stats it is exceeding the usage of the subdomains.
That just didn't seem right. But then I noticed something. Not only did it exceed the bandwidth of the subdomains but it was roughly equal to the total over all subdomains - plus a little extra.
In other words CPanel is counting all the bandwidth from each subdomain into the main domain and then adding them all up again for the total usage. So everything in the subdomains is counted twice!
The same appears to be the case in WHM.
Has anyone else come across this?
I've lifted the limit in WHM so that the nasty "Bandwidth exceeded" message went away, but I can't help wondering how many others have been tripped up by this.