From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Wed, 28 Jan 2015 06:14:06 -0800 To: 9fans@9fans.net Message-ID: <60504b1e5830333dbea77a0d413a9a06@brasstown.quanstro.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] protection against resource exhaustion Topicbox-Message-UUID: 3d0c3874-ead9-11e9-9d60-3106f5b1d025 On Wed Jan 28 06:05:50 PST 2015, lucio@proxima.alt.za wrote: > > i'd forgotten the added difficulty with the 32-bit kernels that plan 9 overcommits > > memory. so in a low-memory situation, a process can be killed by using more > > stack! > > I could have sworn I heard otherwise. But things sometimes are not as I think they are. Here, I'm very curious to know why I remember differently. Nemo? the reason is that each process can have up to 16mb of stack, and this is unaccounted. thus the stack or (seg)?brk can commit to memory that will fault when you touch it. - erik