View Full Version : Bandwidth Throttling in Apache (mod_throttle)
ddelbia
3rd December 2005, 13:39
Hi,
This is my first post :-)
I'm in love for mod_throttle: http://freshmeat.net/projects/mod_throttle/
I hate traffic limits, I'd like to set limits like: 64kbps guarantee bw for hosting too... the site will slow down but not suspended... and mod_throttle can do this, unlike cband (as the features list)
Unfortunally, it is only avaiable for apache1.3 now, but as you can see in the freshmeet project page, "a port to Apache 2.0 is planned to be done"...
------ BEGIN OT ------
I have a question too, little OT here but I don't want to open another thread :)
What happens with the current version of ISPConfig if a site reach the traffic limit with the option "suspend"?
With "notify" option, I think an email will be sent to the customer... and me? ;-)
------ END OT ------
Thank you for you job!
Sorry for my english, I'm italian (do you need translators to italian?;-))
Denis
falko
3rd December 2005, 14:15
page, "a port to Apache 2.0 is planned to be done"...
------ BEGIN OT ------
I have a question too, little OT here but I don't want to open another thread :)
What happens with the current version of ISPConfig if a site reach the traffic limit with the option "suspend"?
With "notify" option, I think an email will be sent to the customer... and me? ;-)
------ END OT ------
If a site is suspended, it isn't deleted or moved elsewhere; not even the configuration of Apache is rewritten. The only thing that happens is this:
chown root <web_root>
chmod 400 <web_root>
This means that Apache, ProFTPd and all the other services aren't allowed to read (and therefore serve) pages/files from that web site. It's a very simple but very effective solution! :)
In both cases (suspension and notification) the customer will receive an email. If you specify a BCC email address for suspension/notification, that email address will receive a copy of that email.
ddelbia
3rd December 2005, 23:14
This means that Apache, ProFTPd and all the other services aren't allowed to read (and therefore serve) pages/files from that web site. It's a very simple but very effective solution! :)
In both cases (suspension and notification) the customer will receive an email. If you specify a BCC email address for suspension/notification, that email address will receive a copy of that email.
Yes, very effective solution :)
This is effective but... not so "nice" for the customer... here is my feature request, bw throttling... what do you think?
Thank you anyway!
Denis
till
4th December 2005, 13:42
Most new installations of ISPConfig are using apache 2. I think we will have to wait until mod_throttle is available as stable version for apache 2.
dembol
9th December 2005, 12:07
Hi,
[...] mod_throttle can do this, unlike cband (as the features list)
Denis
Hmm, mod_cband (http://cband.linux.pl) can do this from 0.9.6.0 version! You should use CBandExceededSpeed directive to slow down pages when the bandwidth is exceeded :)
ddelbia
9th December 2005, 22:31
Hmm, mod_cband (http://cband.linux.pl) can do this from 0.9.6.0 version! You should use CBandExceededSpeed directive to slow down pages when the bandwidth is exceeded :)
Just released! very very nice, thank you! :D
benbalbo
12th December 2005, 03:03
If a site is suspended, it isn't deleted or moved elsewhere; not even the configuration of Apache is rewritten. The only thing that happens is this:
Just wondering - is the suspension automatically lifted at the start of the next month?
falko
12th December 2005, 11:19
Just wondering - is the suspension automatically lifted at the start of the next month?
Yes, it is. :)
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.