sbrk(2), OOM-killer and malloc() overcommit

Peter Jeremy peterjeremy at
Fri Jan 4 11:28:25 PST 2008

On Fri, Jan 04, 2008 at 09:08:12PM +0600, Vadim Goncharov wrote:
>will make a bad reputation  for FreeBSD as a server platform. But there are 
>related "bug", in that of malloc overcommit, which can be demonstrated by 
>this short program (if no resource limits are present, you'll see):

This is a feature, not a bug.

> - but it has never 
>gone into src tree. So why we still have this problem, why not have at 
>least this patch?..

Overcommit has been bikeshedded extensively in the past.  I suggest you
study the archives first.

Peter Jeremy
Please excuse any delays as the result of my ISP's inability to implement
an MTA that is either RFC2821-compliant or matches their claimed behaviour.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-current mailing list