1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Limiting bandwidth per second / minute / hour

Discussion in 'General Discussion' started by kjg, Jul 13, 2011.

  1. kjg

    kjg Member

    Joined:
    Mar 2, 2004
    Messages:
    126
    Likes Received:
    0
    Trophy Points:
    16
    The standard cpanel way of limiting bandwidth is per month making it possible for an account to use all its allowed bandwidth at once.
    Is there a way to limit bandwidth on a time basis such as bytes/second bytes/hour or similar?

    Can't see anything in documentation except for info about mod_bw being updated to 0.92 2011-03-07 plus a reference to /scripts/setbwlimit --help in BandwidthMod < AllDocumentation < TWiki

    /scripts/setbwlimit --help say:

    "Add a bandwidth limit to a vhost.
    /scripts/setbwlimit --help (this screen)
    /scripts/setbwlimit --domain=domain-you-want-to-limit.com --limit=1024000
    'limit' is bytes/sec you want to setup (hint 1024 = 1kb)"

    Tried this, but it seems it is not working

    Do I need to do anything more to get it to work?
    Are there any place in WHM I can set this for a package or an account?

    Any suggestions/comments would be appreciated.
     
  2. cPanelTristan

    cPanelTristan Active Member
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,621
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    somewhere over the rainbow

Share This Page