kernel killing processes when out of swap

Vivek Khera vivek at khera.org
Tue Apr 12 06:53:04 PDT 2005


On Apr 11, 2005, at 12:01 PM, Steven Hartland wrote:

> of swap? Which leads to the question would it not be more sensible to
> kill off the largest process first as its more than likely that it is 
> responsible
> for the problem?
>

so when this largest process is your production database server for 
your e-commerce site, what will you change your recommendation to be?

basically, there is no "right" choice of process to kill.  a machine 
that is out of resources is just a bad situation, and the right thing 
is to try to avoid getting there with careful monitoring and planning.

Vivek Khera, Ph.D.
+1-301-869-4449 x806



More information about the freebsd-stable mailing list