Subject: Re: proc.curproc.rlimit.descriptors.soft
To: None <john@johnrshannon.com>
From: dieter Roelants <dieter.NetBSD@pandora.be>
List: current-users
Date: 02/12/2006 12:51:30
On 02/12/06 12:38:25, John R. Shannon wrote:
> How can proc.curproc.rlimit.descriptors.soft be raised?
>=20
> sim# sysctl proc.curproc.rlimit.descriptors.hard
>   proc.curproc.rlimit.descriptors.hard =3D 3404
> sim# sysctl -w proc.curproc.rlimit.descriptors.soft=3D1024
>   proc.curproc.rlimit.descriptors.soft: 64 -> 1024
> sim# sysctl proc.curproc.rlimit.descriptors.soft
>   proc.curproc.rlimit.descriptors.soft =3D 64

That is because curproc is 3 times a different PID. I guess you want =20
proc.$$.rlimit.descriptors.soft.

Kind regards
dieter


>=20
> -- John R. Shannon
> john@johnrshannon.com
> john.r.shannon@us.army.mil
> shannonjr@NetBSD.org
>=20
--=20
	For Speedy CVS Updates of your NetBSD trees check
	http://scu.bsdusr.net/scu
--
	There is virtue in doing the right thing just for
	the sake of doing it right.  -- Nicholas Petreley