Why kernel kills processes that run out of memory instead of just failing memory allocation system calls?

Kostik Belousov kostikbel at gmail.com
Fri May 22 08:32:24 UTC 2009


On Fri, May 22, 2009 at 02:42:06AM +0100, Thomas Hurst wrote:
> * Nate Eldredge (neldredge at math.ucsd.edu) wrote:
> 
> > There may be a way to enable the conservative behavior; I know Linux
> > has an option to do this, but am not sure about FreeBSD.
> 
> I seem to remember a patch to disable overcommit.  Here we go:
> 
>   http://people.freebsd.org/~kib/overcommit/
Latest version is at
http://people.freebsd.org/~kib/overcommit/vm_overcommit.22.patch
applicable to the today CURRENT.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20090522/e2f9a7ef/attachment.pgp


More information about the freebsd-hackers mailing list