Ahmad51
12-23-2006, 06:36 PM
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,
BF-Gary
12-23-2006, 07:11 PM
It is not exactly what you are looking for but there is PRM (http://www.webhostgear.com/85.html) to watch the entire load of the server.
Ahmad51
12-24-2006, 05:09 PM
Thanks MH
you used this software before?
some times the load kill our server
regards,
Ahmad
gbjbaanb
12-25-2006, 05:07 PM
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 (http://www.rfxnetworks.net/proj.php) work very well - APF, BFD, PRM etc.
LowAsYou
12-26-2006, 03:31 AM
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...
utropicmedia-karl
12-26-2006, 05:15 PM
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 (http://www.rfxnetworks.net/proj.php) work very well - APF, BFD, PRM etc.
suexec is your friend. we run mod_php AND have breakdowns on domain CPU %.