Results 1 to 2 of 2

Thread: Limiting bandwidth per second / minute / hour

  1. #1
    kjg
    kjg is offline
    Registered Member
    Join Date
    Mar 2004
    Posts
    122

    Default Limiting bandwidth per second / minute / hour

    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. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel Access Level

    Root Administrator

    Default Re: Limiting bandwidth per second / minute / hour

    Hello kjg,

    There is not a way to limit this to my knowledge with cPanel currently, although there is a prior forum discussion about Apache modules that can be used to limit it for Apache usage:

    http://forums.cpanel.net/f5/limit-da...age-54579.html

    This sounds like a feature request for having a daily, hourly or other interval limit. I would suggest posting on that forum for this desired capability:

    Feature Requests for cPanel and WHM

    Thanks!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads

  1. Restrict No. of Emails per Hour or Minute from Exim
    By mirfan in forum E-mail Discussions
    Replies: 1
    Last Post: 05-21-2012, 06:43 AM
  2. limiting emails sent per hour
    By nitaish in forum E-mail Discussions
    Replies: 6
    Last Post: 12-04-2010, 06:11 AM
  3. Limiting user mails user nobody can send per hour?
    By bsasninja in forum E-mail Discussions
    Replies: 2
    Last Post: 08-14-2006, 01:28 AM
  4. Bandwidth Limiting?
    By besta in forum General Discussion
    Replies: 3
    Last Post: 07-26-2005, 05:41 PM
  5. How do I trace a problem by hour and minute?
    By EcpHosting in forum General Discussion
    Replies: 2
    Last Post: 02-27-2003, 03:03 PM
bargain