Set task priority
steve at ibctech.ca
Tue Jun 2 23:25:39 UTC 2009
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. I
> finally switched to idprio(1):
> idprio 31 mysqldump .....
> will run only when other processes are idle. That should prevent any
> further self-incurred DOS symptoms for you.
Ok that looks promising.
I will give that a try and see how it goes.
Before I ask how mysqldump works, I'll have to do some research on
when/how/if/how long it holds the db tables unreadable/unwritable during
it's process, if it does it at all.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3233 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090602/052ba4a8/smime.bin
More information about the freebsd-questions