Subject: Re: fork1 and new stack
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Alfred Perlstein <bright@mu.org>
List: tech-kern
Date: 04/26/2002 00:01:53
* Emmanuel Dreyfus <manu@netbsd.org> [020425 22:31] wrote:
> > This can be because of stack size limit for process. You're trying to
> > add 4megs for your stack while default is 2Meg. 
> > unlimit?
> 
> I tried this (running as root with ulimit -s unlimited), no change. 

Totally guessing... is there memory mapped there?  Basically don't
you need to map some anonymous memory into that location before
trying to use it for stack?

-- 
-Alfred Perlstein [alfred@freebsd.org]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'
Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/