bhanuprasad1981

Well-Known Member
Aug 5, 2008
222
0
66
India
i am on 100mbit (unmetered) port so i am thinking to disable bandwidth calculation for my sites, i see in stats that process is eating upto 80% cpu , how can i completely disable bandwidth calculation ?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
You could disable RRDTool from running using this command in root SSH:

Code:
touch /etc/rrdtooldisable
This would disable the bandwidth stats generation from happening.

Now, I'm not certain I would agree with disabling it, since knowing how bandwidth is being used could help you if some user were exploited to see traffic patterns or if you were having one site being attacked for the bandwidth traffic patterns. It's actually helpful to have this information.

Next, with bandwidth reporting disabled, those users also will be unable to see their bandwidth data. If you are going to do that, you probably want to disable that option in Feature Manager as well:

WHM > Feature Manager > Edit a Feature List > Bandwidth Stats (uncheck)

Thanks!
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
You are creating a file with the touch command. You'd remove the file:

Code:
rm /etc/rrdtooldisable
That's all there is to re-enabling them at that point.