Limit vhost bandwidth

Discussion in 'Install/Configuration' started by pratiknaik, Sep 8, 2006.

  1. pratiknaik

    pratiknaik New Member

    Hi,

    I want to limit bandwidth used by each vhost. Is there any way I can do it ?

    Thanks,
    Pratik
  2. xing

    xing LiteSpeed Staff

  3. mistwang

    mistwang LiteSpeed Staff

  4. pratiknaik

    pratiknaik New Member

    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 ?

    Thanks,
    Pratik
  5. mistwang

    mistwang LiteSpeed Staff

    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.

Share This Page