Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2007 16:27:26 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        "Don O'Neil" <lists@lizardhill.com>
Cc:        'Bill Moran' <wmoran@potentialtech.com>, freebsd-questions@freebsd.org
Subject:   Re: Mysql Hogging all system resources
Message-ID:  <A66339C0-A507-4F29-9C19-D43AB68FA785@mac.com>
In-Reply-To: <005801c77d58$ee387560$0300020a@mickey>
References:  <001301c77d3f$aa57f050$0300020a@mickey> <20070412163155.61ec8b40.wmoran@potentialtech.com> <005801c77d58$ee387560$0300020a@mickey>

next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 12, 2007, at 4:18 PM, Don O'Neil wrote:
> This isn't exactly what I want to do. According to the FreeBSD  
> Handbook, by
> defining a CPU limit it will just kill any process that uses more  
> than the
> limit. What I want to do is effectively throttle the process so it  
> doesn't
> use up more than a certain % CPU, but still lives, esentially  
> taking longer
> to process than if it had unlimited resources. That way the process  
> still
> runs and the system isn't taken to it's knees.

Use the nice or renice commands to lower the priority of the MySQL  
server so that it will not preempt other processes which want to run  
at normal priority?

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A66339C0-A507-4F29-9C19-D43AB68FA785>