Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Feature Requests

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd December 2005, 12:39
ddelbia ddelbia is offline
Member
 
Join Date: Dec 2005
Posts: 56
Thanks: 1
Thanked 0 Times in 0 Posts
Default Bandwidth Throttling in Apache (mod_throttle)

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
Reply With Quote
Sponsored Links
  #2  
Old 3rd December 2005, 13:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by ddelbia
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:

Code:
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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 3rd December 2005, 22:14
ddelbia ddelbia is offline
Member
 
Join Date: Dec 2005
Posts: 56
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
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
Reply With Quote
  #4  
Old 4th December 2005, 12:42
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
Default

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.
Reply With Quote
  #5  
Old 9th December 2005, 11:07
dembol dembol is offline
Junior Member
 
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Wink

Quote:
Originally Posted by ddelbia
Hi,
[...] mod_throttle can do this, unlike cband (as the features list)
Denis
Hmm, mod_cband can do this from 0.9.6.0 version! You should use CBandExceededSpeed directive to slow down pages when the bandwidth is exceeded
__________________
dembol.nasa.pl
Reply With Quote
  #6  
Old 9th December 2005, 21:31
ddelbia ddelbia is offline
Member
 
Join Date: Dec 2005
Posts: 56
Thanks: 1
Thanked 0 Times in 0 Posts
Thumbs up

Quote:
Originally Posted by dembol
Hmm, mod_cband 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!
Reply With Quote
  #7  
Old 12th December 2005, 02:03
benbalbo benbalbo is offline
Member
 
Join Date: Oct 2005
Posts: 50
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by falko
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?
Reply With Quote
  #8  
Old 12th December 2005, 10:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by benbalbo
Just wondering - is the suspension automatically lifted at the start of the next month?
Yes, it is.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP/MySQL/Apache2/ISPConfig configuration issues? senzapaura General 21 25th December 2005 14:01
Strange Apache Error protocol Installation/Configuration 4 22nd November 2005 18:20
Apache instal woes acilis2k Installation/Configuration 14 17th November 2005 12:42
Apache 1.3 Support SleeperZ General 3 9th November 2005 11:10
Apache from source on SuSE 9 Brenton Server Operation 1 25th July 2005 18:40


All times are GMT +2. The time now is 04:30.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.