Subject: Re: sysctl proc.curproc.rlimit.descriptors.soft
To: Caffeinate The World <mochaexpress@yahoo.com>
From: None <kpneal@pobox.com>
List: netbsd-users
Date: 02/04/2003 23:34:50
On Tue, Feb 04, 2003 at 08:21:55PM -0800, Caffeinate The World wrote:
> why doesn't this get set properly?
>
> # sysctl proc.curproc.rlimit.descriptors.soft
> proc.curproc.rlimit.descriptors.soft = 64
> # sysctl -w proc.curproc.rlimit.descriptors.soft=128
> proc.curproc.rlimit.descriptors.soft: 64 -> 128
> # sysctl proc.curproc.rlimit.descriptors.soft
> proc.curproc.rlimit.descriptors.soft = 64
Because it sets the limits for the sysctl process and not your
shell process? I think you want ulimit or limit instead (depending
on what shell you use).
--
"A method for inducing cats to exercise consists of directing a beam of
invisible light produced by a hand-held laser apparatus onto the floor ...
in the vicinity of the cat, then moving the laser ... in an irregular way
fascinating to cats,..." -- US patent 5443036, "Method of exercising a cat"