I am on CentOS 6.4 and am using Plesk v11.5.30 although this doesn't necessarily need to be done via plesk.
I am looking to limit the connection speed to a specific website. However the only options Plesk gives me are "Maximum bandwidth usage" and "limit connections".
Maximum bandwidth usage is the total bandwidth used by a domain while connections is the number of connections (obviously). What I want to do is limit the speed to 200kb/s irrespective of how many people are accessing the domain. Even if only one person is accessing, I don't want them to be able to use all the bandwidth, I want them to be limited to 200kb/s
Is there a way for me to limit all individual connections to just 200kb/s so that no one can ever use over 200kb/s, but of course if traffic is high they may use less than 200kb/s?
To avoid this being plesk specific, this is what is in my conf and I'm happy to modify it manually if there is some other parameter I can use:
<IfModule mod_bw.c>
BandwidthModule On
ForceBandWidthModule On
Bandwidth all "0"
MaxConnection all "0"
BandWidthError 510
</IfModule>