On Fri, 29 Sep 2017, Andreas Beck wrote:
Okay, ive done the job by editing /etc/login.conf.
Andreas Beck schrieb:
Hello,
ive a Problem with 8.0_BETA and increasing
proc.curproc.rlimit.descriptors.hard and
proc.curproc.rlimit.descriptors.soft
When I do "sysctl -w" or in /etc/sysctl.conf the values cant be increased.
Increasing of kern.maxfiles is possible.
Your problem is that curproc is the current process (the PID of sysctl -w
command which is, of course, transitory).
Editing login.conf is the correct fix (or you can add it to the relevant
/etc/rc.conf.d file as the launched process will inherit it from its
parent).
--
Stephen