mangelot
Verified User
Some Feature requests
First feature request:
limit user accounts by CBand module
The Cband Apache module can be downloded from the official website here:
http://cband.linux.pl/
This module provides full bandwith limiting of all Apache VirtualHosts. First reference the newly added module with:
LoadModule cband_module /etc/apache2/mod_cband.so
You can put the module anywhere you want, just adjust the directory location accordingly. Now you can add a VirtualHost as usually, and add the addition cband configuration parameters to establish desired functionality.
<VirtualHost *>
ServerName www.bgevolution.com
ServerAdmin [email protected]
DocumentRoot /home/user/bgevolution/
CBandSpeed 5000kb/s 24 16
CBandRemoteSpeed 2500 12 8
</VirtualHost>
The CbandSpeed parameter established a maximum bandwidth limit on the entire VirtualHost. The 24 refers to the maximum requests per second, and the 16 refers to the maximum sustained connections at any one time. The CbandRemoteSpeed parameter establish bandwidth throttling for any one specific website visitor. With this parameter you can limit each visitor specifically. Play around with the numbers, try and download something, and you will see in real time the effect your configuration has on the actual download speed
Second feature request:
limit user accounts by load
by using Apache server-status module
something like domain.monitoring.tool (apache1) (search this forum)
Third request:
optimize mysql (my.conf) and apache (httpd.conf)
throught the control panel.
with preferred settings and optimized setting etc...
regards Marco
First feature request:
limit user accounts by CBand module
The Cband Apache module can be downloded from the official website here:
http://cband.linux.pl/
This module provides full bandwith limiting of all Apache VirtualHosts. First reference the newly added module with:
LoadModule cband_module /etc/apache2/mod_cband.so
You can put the module anywhere you want, just adjust the directory location accordingly. Now you can add a VirtualHost as usually, and add the addition cband configuration parameters to establish desired functionality.
<VirtualHost *>
ServerName www.bgevolution.com
ServerAdmin [email protected]
DocumentRoot /home/user/bgevolution/
CBandSpeed 5000kb/s 24 16
CBandRemoteSpeed 2500 12 8
</VirtualHost>
The CbandSpeed parameter established a maximum bandwidth limit on the entire VirtualHost. The 24 refers to the maximum requests per second, and the 16 refers to the maximum sustained connections at any one time. The CbandRemoteSpeed parameter establish bandwidth throttling for any one specific website visitor. With this parameter you can limit each visitor specifically. Play around with the numbers, try and download something, and you will see in real time the effect your configuration has on the actual download speed
Second feature request:
limit user accounts by load
by using Apache server-status module
something like domain.monitoring.tool (apache1) (search this forum)
Third request:
optimize mysql (my.conf) and apache (httpd.conf)
throught the control panel.
with preferred settings and optimized setting etc...
regards Marco