Web Hosting Talk







View Full Version : bandwidth limit question with CPANEL


mahinder
11-02-2001, 03:09 PM
one of my clients bandwidth limit was 1 gb and it exceed on 27th so the site was turned off automtically. but on 1st nov it still shows bandwidth limit exceed. but on 2nd it resumed. do anyone know how to turn off bandiwidth limit in cpanel in case of emergency. ?

Vince
11-02-2001, 06:47 PM
Hi,

Login to your WHM, edit the clients account (be sure you're editing his account directly, NOT the plan which he's using) and increase the bandwidth there.
That'll let your clients site resume operation.

Vince.

mahinder
11-03-2001, 05:43 AM
Originally posted by Vince
Hi,

Login to your WHM, edit the clients account (be sure you're editing his account directly, NOT the plan which he's using) and increase the bandwidth there.
That'll let your clients site resume operation.

Vince.

thanks for reply vince, but i am not talking about increasing bandwidth limit. i did that but it does not reflect immedately because bandwidth limit checking program only runs 1's in a day until then it will not enable suspended web site.

i want to enable it immedately and don't know how to do it.

Dahlia
11-03-2001, 07:26 AM
i put in a feature request to have the bandwidth limit checking changed to allow the host to run a script that will update it. i hope the cpanel programers do something about this soon, my request has been sitting collecting dust so far since October 20th at the cpanel bugzilla site (bug 41 (http://web.cpanel.net/bugzilla/show_bug.cgi?id=41)).. unfortunately, doesn't look like they are interested in getting this available to us any time soon :( maybe if other hosts would back up the feature by adding in their 2 cents they might try to make it available sooner.

mahinder
11-05-2001, 03:23 PM
well, i got the answer from one of my host (interserver.net = great host). it need to be edited in httpd.conf file there are some module which are to be marked and need to restart apache and it will then imedately enable all web sites.

i will post exact description tomarrow. because right now email is on another computer.

regier
11-05-2001, 04:07 PM
The easiest method is just go to the limit bandwidth section, choose the account. Don't change the bandwidth you are giving the client, but click the update button. This will then test and make it realize that the client has bandwidth left, and the account will be active again.

mahinder
11-06-2001, 10:37 AM
good point regier, i will try that. but here is how to do it through apache configration file.

thank you all for your help.


bw limited is back on

To turn it off you need to edit /etc/httpd/conf/httpd.conf


find line
AddModule mod_bwlimited.c

and add a # before the Add save the file and restart apache.




LoadModule bwlimited_module libexec/mod_bwlimited.so

and add a # Before the Load


then find