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

From: Peter Jeremy <peterjeremy_at_optushome.com.au>
Date: Sat, 5 Jan 2008 06:28:20 +1100
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.

>http://people.freebsd.org/~kib/overcommit/index.html - 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.

Received on Fri Jan 04 2008 - 18:28:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:25 UTC