Subject: Re: NetBSD weakness..
To: Jeff Rizzo <riz@boogers.sf.ca.us>
From: Andrew Brown <atatat@atatdot.net>
List: port-i386
Date: 10/03/2001 17:27:17
>To raise the current process's limit:
>hubba:riz ~> sysctl -w proc.curproc.rlimit.maxproc.soft=600
>proc.curproc.rlimit.maxproc.soft: 160 -> 600
>
>hubba:riz ~> sysctl -a |grep maxproc
>kern.maxproc = 1044
>proc.curproc.rlimit.maxproc.soft = 160
>proc.curproc.rlimit.maxproc.hard = 1044
note that in this context, maxproc.soft did *not* rise to 600 because
you told sysctl to raise it's *own* limit to 600. sysctl subsequently
exited, so it never noticed the difference.
you might wanna try instead
sysctl -w proc.$$.rlimit.maxproc.soft=600
so that the shell's limit gets changed instead.
--
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org * "ah! i see you have the internet
twofsonet@graffiti.com (Andrew Brown) that goes *ping*!"
andrew@crossbar.com * "information is power -- share the wealth."