[Backgroundrb-devel] limiting processor usage

Geoff Garside ruby at geoffgarside.co.uk
Mon Jul 9 10:17:08 EDT 2007

On 9 Jul 2007, at 15:09, Charlie Bowman wrote:

> I have a very intensive background process that keeps taking up  
> loads of the cpu.  If I have 2 of these going at once, I can't even  
> ssh to the box much less get a page to load.  Is there something I  
> can do to limit this.  I dont mind if the process takes longer to  
> run, I just dont want to freeze my box every time it runs.  Thanks  
> for any advice!
> Charlie
> _______________________________________________
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/backgroundrb-devel

You could use a login class to limit the amount of CPU the user  
running the background process can use. Check the login.conf manpage  
for your OS (assuming Unix-like derivative) for details on how to set  
this up.


More information about the Backgroundrb-devel mailing list