• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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