On Fri, Nov 16, 2018 at 10:46:12AM +0000, Mik J wrote: > Hello, > Thank you to both of you. > I had already changed openfiles-max=65536 in login.conf and > kern.maxproc=16384 in sysctl.conf. > Have a nice day
But why? -Otto > > Le vendredi 16 novembre 2018 à 11:18:42 UTC+1, Otto Moerbeek > <o...@drijf.net> a écrit : > > On Fri, Nov 16, 2018 at 10:55:23AM +0100, Martijn van Duren wrote: > > > 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@ > > There are also kern.maxfiles and kern.maxproc for system wide limits. > But in most cases,these values do not need to be changed. > > -Otto > >