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.

Limit CPU and Memory usage

Discussion in 'General Discussion' started by bewnet, Jun 17, 2011.

  1. bewnet

    bewnet Member

    Joined:
    May 19, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    How limit de cpu and memory usage to an account or domain?
     
  2. fi77i

    fi77i Well-Known Member

    Joined:
    Aug 20, 2008
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Uruguay
    cPanel Access Level:
    Root Administrator
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Other than CloudLinux, you could also consider RLimit for DSO and suPHP handlers, FcgidMax and FcgidMin limits for FCGI, and mod_perl's Apache2::Resource for CGI. These are only taken into account for Apache usage, though.

    Another option for global consideration of various services to limit would be prm which is at this location:

    Process Resource Monitor | R-fx Networks
     
  4. tank

    tank Well-Known Member

    Joined:
    Apr 12, 2011
    Messages:
    236
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Chicago, IL
    cPanel Access Level:
    Root Administrator
    Awesome this is exactly what I was looking for. Going to install this weekend.
     
  5. dorjano

    dorjano Registered

    Joined:
    Aug 7, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hmm, well thank you for PRM link. But is there a way to just limit used resources for a single user/account directly in WHM/CPanel? Like Plesk have?

    Any suggestion greatly appreciated!
     
    #5 dorjano, Jan 9, 2012
    Last edited: Jan 9, 2012
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    There are no native options available in cPanel/WHM that will allow you to limit a specific user based on resource usage. However, as Tristan mentioned, you may want to look into CloudLinux:

    cPanel - CloudLinux

    Thank you.
     
  7. nibb

    nibb Well-Known Member

    Joined:
    Mar 22, 2008
    Messages:
    301
    Likes Received:
    1
    Trophy Points:
    18
    They should. You should be able to limit resources from WHM on the admin side, at least for what is possible today. And the user should also be able to monitor this on this cPanel side. Please see my topic in the Cloud Linux section where I talk more about this and the future of cPanel.

    Cloud Linux is nice, but its not the way to compete vs Plesk. cPanel should have native features which approach them more to an isolated pay per use model.
     
Loading...

Share This Page