Subject: Re: segmentation fault on [stack growth]? <[email-masked]>

From: "Chris G. Demetriou" <[email-masked]>

> So, NetBSD imposes no limit on how much a process can auto-grow its
> stack by at once, except that the stack as a whole cannot exceed the
> stacksize limit?

correct.

> What if one does "unlimit stacksize"?

1 [sun-lamp] cgd % limit stacksize
stacksize       512 kbytes
2 [sun-lamp] cgd % unlimit stacksize
3 [sun-lamp] cgd % limit stacksize
stacksize       8192 kbytes

"just 'cuz it said it was unlimited doesn't mean that it is..."

you still have a wall -- it's just a lot further away.

obviously, these numbers change from machine to machine...

chris