Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Limiting bandwidth per second / minute / hour

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

  1. kjg

    kjg Well-Known Member

    Joined:
    Mar 2, 2004
    Messages:
    154
    Likes Received:
    3
    Trophy Points:
    168
    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 Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice