Set task priority

Glen Barber glen.j.barber at gmail.com
Tue Jun 2 23:27:38 UTC 2009


Greg,

On Tue, Jun 2, 2009 at 7:19 PM, Greg Larkin <glarkin at freebsd.org> wrote:
>
> I had the same situation here, and nice(1) wasn't cutting it for me.  I
> finally switched to idprio(1):
> http://www.freebsd.org/cgi/man.cgi?query=idprio&sourceid=opensearch
>
> idprio 31 mysqldump .....
>
> will run only when other processes are idle.  That should prevent any
> further self-incurred DOS symptoms for you.
>

Very cool.  I'll have to add that to my toolbox. :)

-- 
Glen Barber
http://www.dev-urandom.com
http://www.linkedin.com/in/glenjbarber


More information about the freebsd-questions mailing list