Re: Set task priority

2009-06-03 Thread Mel Flynn
On Wednesday 03 June 2009 01:05:13 Steve Bertrand wrote: What is the best way to set priority on my task in order to ensure it completes as quickly as possible, but does not cause a situation where other programs and their children can't respond? You may want to consider the fact that

Set task priority

2009-06-02 Thread Steve Bertrand
Hi everyone, I'm attempting to mysqldump a database on a box that is hovering near max CPU and mem usage. When I run the command, other critical programs fail to respond causing an 'outage-like' situation. Normally, this is a time-of-day task and will run happily later into the night, but I

Re: Set task priority

2009-06-02 Thread Glen Barber
Hi Steve On Tue, Jun 2, 2009 at 7:05 PM, Steve Bertrand st...@ibctech.ca wrote: Hi everyone, I'm attempting to mysqldump a database on a box that is hovering near max CPU and mem usage. When I run the command, other critical programs fail to respond causing an 'outage-like' situation.

Re: Set task priority

2009-06-02 Thread Wojciech Puchar
When I run the command, other critical programs fail to respond causing an 'outage-like' situation. Normally, this is a time-of-day task and will run happily later into the night, but I want to run it now. What is the best way to set priority on my task in order to ensure it completes as

Re: Set task priority

2009-06-02 Thread Steve Bertrand
Glen Barber wrote: Hi Steve On Tue, Jun 2, 2009 at 7:05 PM, Steve Bertrand st...@ibctech.ca wrote: Hi everyone, I'm attempting to mysqldump a database on a box that is hovering near max CPU and mem usage. When I run the command, other critical programs fail to respond causing an

Re: Set task priority

2009-06-02 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve Bertrand wrote: Glen Barber wrote: Hi Steve On Tue, Jun 2, 2009 at 7:05 PM, Steve Bertrand st...@ibctech.ca wrote: Hi everyone, I'm attempting to mysqldump a database on a box that is hovering near max CPU and mem usage. When I run the

Re: Set task priority

2009-06-02 Thread Steve Bertrand
Greg Larkin wrote: Steve Bertrand wrote: I'll have to play around a bit. Looking closer, it does appear to be a disk I/O issue, but I figured that if I tried to prioritize the job, it might ease-up on all system aspects. I had the same situation here, and nice(1) wasn't cutting it for me.

Re: Set task priority

2009-06-02 Thread Glen Barber
Greg, On Tue, Jun 2, 2009 at 7:19 PM, Greg Larkin glar...@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=idpriosourceid=opensearch idprio 31 mysqldump . will run only

Re: Set task priority

2009-06-02 Thread RW
On Tue, 02 Jun 2009 19:19:49 -0400 Greg Larkin glar...@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=idpriosourceid=opensearch idprio 31 mysqldump . will run only when