Apache modules to limit the (cpu/ip/etc) usage [need help]

Hello guys,

I currently have an unmetered server which has FreeBSD 5.3-STABLE and Direct Admin installed. In order to not to limit the bandwidth usage, I decided to limit the ip, cpu load, etc usage.

My host provider told me that mod_throttle and mod_bandwidth are installed by default by Direct Admin. And I've asked them to install mod_limitipconn and mod_load as well, and they've done it.

So currently I have these modules installed:
mod_throttle
mod_bandwidth
mod_limitipconn
mod_load

What I want to do is:
* To limit the simultaneous IP connections to 2 server-wide to prevent from leeching. (But it shouldn't affect normal web page browsing)
* To limit the maximum download speed of each ip connection to 30k/s server-wide.
* To limit (apache) simultaneous requests to a certain number for each vhost.
* To limit the maximum cpu load for each vhost, for example, 0.10 0.20 0.50.

I have searched on google as well as on WHT. I have followed the instructions given, however, I still cannot get them working. Apache modules to limit the (cpu/ip/etc) usage [need help] Maybe I have missed something?

Could you guys kindly provide me a step-by-step instruction on configuring and running these modules? I am sorry this sounds very childish, however without a step-by-step instruction, I'm afraid I still won't be able to get it.

Any comment or advice is welcomed!

Thank you very much!

 

 

 

 

Top