Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Jan 2008
    Posts
    7

    Default Suggestion: Limiting Bandwidth to clients

    Hello,
    I would like to limit the Bandwidth a client gets for hes Game Servers instead of limiting slots,
    Could this be added to cPGS?.

    Thanks.

  2. #2
    Member
    Join Date
    Feb 2008
    Posts
    81

    Default

    I was thinking something allong the same lines earlier aswell... Although my suggestion may be taking it too far.. Limiting a certain amount of Memmory per reseller account, then limiting a certain amount of memmory for user accounts aswell

  3. #3
    Member
    Join Date
    Jan 2008
    Posts
    7

    Default

    So any Official answer whether this will be added?

  4. #4
    Member
    Join Date
    Nov 2007
    Posts
    36

    Default

    I dont even think it would be possible for cPGS to monitor the bandwidth

    I like the idea about limiting by memory

  5. #5
    Member
    Join Date
    Jan 2008
    Posts
    7

    Default

    Well does the Bandwidth used on cPGS Game servers count towards the particular account its used on if that account has a Bandwidth limit?,
    And im sure they can develope a API with the WHM Bandwidth monitor etc.

  6. #6
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default

    Jordanlw - If cPGS ran only on cPanel machines, then there would be a chance I could use iptables to monitor bandwidth usage like WHM does. Unfortunately, the majority of games are run on 'remote' servers; these remote servers can run pretty much any linux distro and do not require iptables support, kernel module support. The bandwidth used on game servers is also so minimal that almost no game server provider even counts it as a metric for charging for game servers, it's all about the game+slots+mods from what I've seen so far. I could probably make it so it was monitored if it was available, but that's a lot of time for a feature that isn't 100% needed, more like something better for a slow week on cPGS. One option might be to use libpcap to monitor all relevant traffic or something like Darkstat http://dmr.ath.cx/net/darkstat/ , however that's quite involved.

    The memory limiting yall are talking about would require a VPS level of control of resources, meaning custom kernels and kernel modules. I could try it with bash ulimit's but that's terribly hackish. What I could do is make a cron script to run every N minutes and compare the memory usage of a game to what they are 'allowed' and report it to some email address and/or to outright kill the process.

    I think it'd be cool to have both of these as features, but the practicality of them with current (generic) OS resource management isn't too hot. I'll keep my eyes and ears open on ways to do these reliably across the board; the more options the better.

  7. #7
    Member
    Join Date
    Jan 2008
    Posts
    7

    Default

    So you might consider having bandwidth limitations for Game servers hosted on cPanel servers?

  8. #8
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default

    Jordanlw - Yeh, it's not outside the realm of possibility by any means, but honestly it probably won't show up in a new release for quote some time. It really boils down to user demand; what the majority wants weighed against what is possible and realistic. What sort of action(s) would you want it to take when it found a user's game install using more bandwidth than it's allowed ? Notification ? Notification and server stopped and disabled from starting ? Also, are you thinking in like a monthly allotment of bandwidth or a max rate, like 500KB/s at any given time ?

  9. #9
    Member
    Join Date
    Jan 2008
    Posts
    7

    Default

    Yea I was going to sell servers by Bandwidth not by slots.

Similar Threads & Tags
Similar threads

  1. Limiting bandwidth per second / minute / hour
    By kjg in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-13-2011, 03:03 PM
  2. Limiting a Clients Cpanel Access
    By adsy in forum New User Questions
    Replies: 8
    Last Post: 06-08-2010, 07:50 AM
  3. Limiting bandwidth per IP
    By lblanchardiii in forum Security
    Replies: 2
    Last Post: 10-29-2009, 05:00 PM
  4. Bandwidth Limiting?
    By besta in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-26-2005, 04:41 PM
  5. Bandwidth used suggestion
    By DN-Paul in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-09-2004, 07:25 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube