• Home
  • Free Stuff
  • About
  • Contact

WHM/CPanel Tips : How to Reset Bandwidth Usage

February 9, 2014

This morning one of our customer contact me due to an error message on his website. Instead of displaying blog content, his website display an error message : “Bandwidth limit exceeded ” . This message usually appears when the website bandwidth exceeds predetermined limit . Bandwidth usage is calculated from the total of  incoming and outgoing data (upload and download) of the hosting account .
vavai-bandiwdth-limit-exceeded
The easiest way to resolve the problem is simply increase the bandwidth limit and maybe charge for additional bandwidth :_) , but I am curious how many bandwidth was consumed for a standard website with usual traffic, so I checked the bandwidth usage before trying to upgrade the bandwidth limit.

After checking bandwidth usage, I found unexpected results. His website consumed more than 50 GB bandwidth. This is  quite large, because  his website not really popular and daily traffic is about 300-700 visitors. After check some possibility of an error setting , I found the source problem : bandwidth usage came from backup traffic while transferring his website into another server/location.

vavai-ilustrasi-website

According the above check,  it’s seems much easier to reset the bandwidth usage rather than increase his bandwidth limit. The following step are the procedure to reset bandwidth usage in WHM (Web Hosting Management) :

  1. SSH/Putty to a WHM server
  2. Go to the folder /var/cpanel/bandwidth.cache/
  3. Edit the corresponding file name, according to the name of hosting account
  4. Change the number of bandwidth to the desired number . For example, I change the number with 0, it means that the bandwidth usage is reset to zero
  5. Save the edited file. Check bandwidth usage on WHM | Show Bandwidth Usage, it should display the correct bandwidth usage according to the results of the previous step

Increasing bandwidth usage usually correlated with the level of traffic and the popularity of website, but it can also caused by too many file download and upload.

BandwidthCPanelExcellentWHM
Share

Linux

Masim "Vavai" Sugianto
Traveller, Open Source Enthusiast & Book Lover. Works as Independent Worker & Self-Employer.

Leave A Reply


Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Recent Posts

    • Januari 2021 Portfolio Update
    • December 2020 Portfolio Update
    • After a While
    • Life goes On : Farming
    • Pursuing FIRE in Indonesia : Are You Prepared For A Recession?
    • VirtualBox Error Kernel Driver not Installed (rc=-1908) on Zorin OS 15.2
    • ZorinOS on Intel NUC Hades Canyon Series NUC817HVK
    • Banana Farm
    • Zorin OS 15.2 Ultimate
    • Haraka and LDAP Authentication with Zimbra



© Copyright LetsBlog Theme Demo - Theme by ThemeGoods