Results 1 to 6 of 6
  1. #1

    CPU usage limitation

    Hello

    we are looking for a software that can limit CPU usage for each account

    this mean .. when any account exceed the limit .. - X% - .. the server will stop this account until the normal usage return


    some times we have an account which use more then 25% and for sure this will lead to a high load in the server .. plus down time

    is there any software would do such thing?

    regards,

  2. #2
    Join Date
    Aug 2003
    Location
    Vancouver, BC
    Posts
    1,891
    It is not exactly what you are looking for but there is PRM to watch the entire load of the server.
    Gary Jones

    BlueFur.com - Canada Web Hosting

  3. #3
    Thanks MH

    you used this software before?

    some times the load kill our server

    regards,

    Ahmad

  4. #4
    Join Date
    Oct 2004
    Location
    Southwest UK
    Posts
    1,159
    Unless you run each client as a CGI program, you cannot tell which user is running which process - eg, it'll always be apache/mod_php that's using all the CPU, and the user will be the httpd user.

    so, the best you can hope for is to keep monitoring and tell any offending users off. Or, run every process as a CGI one, using the cpulimit app to limit them to a max %.

    All the rfxnetworks apps work very well - APF, BFD, PRM etc.
    Do not meddle in the affairs of Dragons, for you are crunchy and taste good.

  5. #5
    Join Date
    May 2006
    Posts
    249
    PRM won't help much.. I have tried, but it won't help on hosting service because you will have to insert every each user's ID.or it will just restrick http service or nobody account.... it will be good to make custom script.. I believe bluehost has their own script and it keep check % of each users on shared hosting server and if it go over %, it showed error mesage that said account goes over %, so please access later like that...

  6. #6
    Join Date
    Jul 2006
    Location
    Detroit, MI
    Posts
    1,955
    Quote Originally Posted by gbjbaanb
    Unless you run each client as a CGI program, you cannot tell which user is running which process - eg, it'll always be apache/mod_php that's using all the CPU, and the user will be the httpd user.

    so, the best you can hope for is to keep monitoring and tell any offending users off. Or, run every process as a CGI one, using the cpulimit app to limit them to a max %.

    All the rfxnetworks apps work very well - APF, BFD, PRM etc.
    suexec is your friend. we run mod_php AND have breakdowns on domain CPU %.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •