Subject: Re: proc.curproc.rlimit.descriptors.soft
To: NetBSD-current <current-users@NetBSD.org>
From: Ansgar Burchardt <ansgar@2005.43-1.org>
List: current-users
Date: 02/12/2006 13:03:01
John R. Shannon wrote:
> How can proc.curproc.rlimit.descriptors.soft be raised?
> 
> sim# sysctl -w proc.curproc.rlimit.descriptors.soft=1024
>   proc.curproc.rlimit.descriptors.soft: 64 -> 1024
This will only change the value for the sysctl process itself.

$ /sbin/sysctl proc.curproc.rlimit.descriptors.soft
proc.curproc.rlimit.descriptors.soft = 64
$ ulimit -n 1024
$ /sbin/sysctl proc.curproc.rlimit.descriptors.soft
proc.curproc.rlimit.descriptors.soft = 1024

Ansgar

-- 
pgp: 0xF1F477C0    2BE4 CE2A E9CB 27D3 29F4  502E 53B1 6D9C F1F4 77C0