Subject: Re: maximum stack size
To: Michael Richardson <mcr@solidum.com>
From: Simon Burge <simonb@netbsd.org>
List: netbsd-help
Date: 04/06/2000 00:03:10
Michael Richardson wrote:

> 
>   How can I increase the default hard limit of 32M for stack size?
> 
>   (Since you'll tell me that a properly written program would never need,
> more, I'll agree. We need to benchmark old code against new code that doesn't
> need it...) 
> 
>   I know that root can increase it and children will inherit, but is
> there some place other than the top of /etc/rc that I can put this? 

Use
	options MAXSSIZ=<numbytes>

in your kernel config file (if that's where you want to change
it).  I don't know that these are documented anywhere but look in
/usr/include/machine/vmparam.h for the default values of the data
and stack limits.

Simon.