• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

How can I limit the download bandwidth speed?

Z

ZAPP!?

Guest
I'm using Plesk 7.5 on a root and I want to limit an account's speed (outgoing speed, also called download-speed)

Is it possible by using the console?/b]
 
hmm doesnt work...?



I have done the following:

1. I installed with the SSH console the mod
Code:
 cd /tmp
wget cband.linux.pl/download/mod-cband-0.9.7.4.tgz
tar xzvf mod-cband-0.9.7.4.tgz
cd mod-cband-0.9.7.4
./configure
make
make install



2. After that I have opened the httpd.conf (/etc/apache2) and added the following lines at the bottom

Code:
Include /root/mod-cband-0.9.7.5/conf/vhosts.conf

LoadModule cband_module /usr/lib/apache2/mod_cband.so


3. And to the vhhost.conf looks like this one (/root/mod-cband-0.9.7.5/conf/vhosts.conf)
Code:
ServerAdmin [email][email protected][/email]
ServerName meinedomain.de
DocumentRoot /var/www/vhosts/meinedomain.de
CBandSpeed 1024 10 30
CBandRemoteSpeed 32Kb/s 3 3

<Location /cband-status>
SetHandler cband-status
</Location>

Of course I have replaced the "meinedomain.de" with my real domain-name


4. After that I restartet apache2
Code:
/etc/init.d/apache2 restart



5. To check, if the installation was succesfull i opened my website to see the live-statistics of the mod. heres a image:




Now I downloaded a simple 100MB file (DSL 6000) but my speed reached over 500kb/s, but in the vhost.conf i said, that the maxspeed is 200kbs.


SO what's wrong? :)



ZAPP?!
 
Back
Top