Date: Tue, 19 Mar 2019 12:56:05 +0000 From: "Witzel, Stefan" <Stefan.Witzel@zvw.uni-goettingen.de> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Ignoring /boot/loader.conf and /boot/loader.conf.local? Message-ID: <d47bac422be14daf83c120a0efaee6a7@zvw.uni-goettingen.de>
next in thread | raw e-mail | index | archive | help
Hi, on a system running FreeBSD 12.0 I want to run MongoDB (in a jail). Accordi= ng to https://vermaden.wordpress.com/tag/mongodb/ I tried to increase kern.= maxproc. The default value was 99999. For testing purposes I first add kern.maxproc=3D100000 to /boot/loader.conf and rebooted: the value has not changed; the same resu= lt editing /boot/loader.conf.local. Only if I edit /boot/defaults/loader.conf the value changed to 100000. Are = there other restrictions on kern.maxproc? Later I found all other entries in /boot/loader.conf are also ignored. BTW, I found "#define PID_MAX 99999" in /usr/src/sys/sys/proc.h. Is it poss= ible to set kern.maxproc greater 100000 if all pids are from the interval [= 0, 99999] and unique? Thanks in advance. Stefan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d47bac422be14daf83c120a0efaee6a7>