Help - Search - Members - Calendar
Full Version: Limiting Account Per-Second Bandwidth
The Planet Forums > Operating Systems > BSD
levovich
I would like to limit speed of one of my websites. The website is hosted on its separate harddrive. Basically, I want it to be a slower but I want the apache requests still to be processed and the web pages still to be accessible.

I tried mod_throttle and it only allowed me to deny requests if a certain limit is exceeded. What I want to do instead is for the website to become slower. I looked into different options: apache config, hard drive configuration (since the disk is hosted on its own harddrive).

If anybody had this problem, can you please share your experience any possible solutions you tried.

I hope I made the problem clear. Thanks for the input!
iiw
From modules.apache.org,

mod_choke is a module for Apache that limits usage by greedy clients. It's two main functions are to limit the number of concurrent connections per IP, and to limit the rate at which apache sends data to the client. It includes detection of users behind proxy servers (using the X-Referred-By header). It includes limiting the speed at which files are sent to a configurable rate, with the option of allowing a burst at full speed for the first chunk of a file.

And another potential solution

"Mod_bandwidth" is a module for the Apache webserver that enable the setting of server-wide or per connection bandwidth limits, based on the directory, size of files and remote IP/domain.
levovich
QUOTE
Originally posted by iiw
From modules.apache.org,

mod_choke is a module for Apache that limits usage by greedy clients. It's two main functions are to limit the number of concurrent connections per IP, and to limit the rate at which apache sends data to the client. It includes detection of users behind proxy servers (using the X-Referred-By header). It includes limiting the speed at which files are sent to a configurable rate, with the option of allowing a burst at full speed for the first chunk of a file.

And another potential solution

"Mod_bandwidth" is a module for the Apache webserver that enable the setting of server-wide or per connection bandwidth limits, based on the directory, size of files and remote IP/domain.


Thanks a lot! I'll make sure to check out those modules. I didn't know of modules.apache.org . Thanks for mentioning it.
cristianmerz
Any solution for apache 2?
dervisoglu
MOd_choke seems like a very nice feature of apache which everyone meight need if some one can write a HOW TO about this feature its gonna be really be appriciated by all users of ev1 forum i am hundred percent sure:)

I will wait for an how to now trying to understand the logic if any apache guru can guide me through this module will be $ appriciated

Pm me if any one can do it
Thnx
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.