On 11/16/18 10:24 AM, Mik J wrote:
> Hello,
> 
> Does anyone know how to change these values ?
> 
> # sysctl kern.nprocs=52
> sysctl: kern.nprocs: Operation not permitted
> # sysctl kern.nfiles=575
> sysctl: kern.nfiles: Operation not permitted
> 
> Regards
> 
See sysctl(2):
           Second level name            Type                    Changeable
...
           KERN_NFILES                  integer                 no
...
           KERN_NPROCS                  integer                 no
...
     KERN_NFILES (kern.nfiles)
             Number of open files.
...
     KERN_NPROCS (kern.nprocs)
             The number of entries in the kernel process table.

If you want to change the maximum number of open files/processes take a
look at ksh(1) ulimit or csh(1) limit and login.conf(5).

Hope this helps.

martijn@

Reply via email to