The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solution for limiting an account or server MPS?

Discussion in 'General Discussion' started by DWHS.net, Apr 28, 2015.

  1. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    I searched through old threads but found 404s on the apache mod links. One mod just limits the total bandwidth for time not the MPS.

    I added mod_bandwidth but it didn't make any difference, not sure if it's broken or just not effective.

    I added this and it says it was added:

    Added /scripts/setbwlimit --domain=domain.com --limit=25000000

    which I would think limits the account to 25 mps but they are still pushing 100 mps.

    I'm I missing something or is there a better way to do this?

    Thanks,
     
  2. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    #2 DWHS.net, Apr 28, 2015
    Last edited: Apr 28, 2015
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    650
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  4. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Thanks, I read that. Can you explain what mod_bandwidth does?
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    650
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    It's primarily used to restrict the number of simultaneous connections per VirtualHost. Some raw documentation on it is found at:

    http://legacy.ivn.cl/files/txt/mod_bw-0.92.txt

    Thank you.
     
  6. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    I'm so confused, so there is no solution to limit MBPS for an account? You have to do this with the switch? Most switches just have 10/100/1000 what if you need to limit it to 25 mbps for example?
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    650
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page