Discussion in 'Install/Configuration' started by pratiknaik, Sep 8, 2006.
I want to limit bandwidth used by each vhost. Is there any way I can do it ?
You can limit real-time per-vhost allowed bandwidth via:
Server level Outbound Bandwidth limit must be none-Zero, that's the main switch for bandwidth throttling, each vhost can have its own limit if set.
I'm a little lost here. Let's say I want to limit someone's bandwidth to 1 GB/month. What should be the values of these params ?
LSWS alone cannot do monthly limit, it only throttle the realtime bandwidth usage, something like 12KB/second that.
For monthly limit, you need to run a bandwidth statistic job to calculate the bandwidth useage based on access log or bandwidth log. CPanel has this kind of feature and LSWS write the bandwidth log in same format as that of Apache mod_bytes_log.
Separate names with a comma.