Date: Wed, 20 Mar 2019 07:00:18 +0000 From: "Witzel, Stefan" <Stefan.Witzel@zvw.uni-goettingen.de> To: Polytropon <freebsd@edvax.de> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: AW: Ignoring /boot/loader.conf and /boot/loader.conf.local? Message-ID: <7e54e5c3729f4065bf6a697d3b2328c8@zvw.uni-goettingen.de> In-Reply-To: <20190319144319.c914f62f.freebsd@edvax.de> References: <d47bac422be14daf83c120a0efaee6a7@zvw.uni-goettingen.de> <20190319144319.c914f62f.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] -- Georg-August-Universitt Gttingen Stiftung ffentlichen Rechts Abteilung IT Golerstrae 5/7 37073 Gttingen Telefon: 0551 / 39-24160 Fax: 0551 / 39-1824160 E-Mail: stefan.witzel@zvw.uni-goettingen.de > -----Ursprngliche Nachricht----- > Von: Polytropon <freebsd@edvax.de> > Gesendet: Dienstag, 19. Mrz 2019 14:43 > An: Witzel, Stefan <Stefan.Witzel@zvw.uni-goettingen.de> > Cc: freebsd-questions@freebsd.org > Betreff: Re: Ignoring /boot/loader.conf and /boot/loader.conf.local? > > On Tue, 19 Mar 2019 12:56:05 +0000, Witzel, Stefan wrote: > > Hi, > > > > on a system running FreeBSD 12.0 I want to run MongoDB (in a jail). > > According 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=100000 > > > > to /boot/loader.conf and rebooted: the value has not changed; the same > > result editing /boot/loader.conf.local. > > > > Only if I edit /boot/defaults/loader.conf the value changed to 100000. > > You should not change a defaults file, this is not intended. > > I first try it by changing /boot/loader.conf[.local]. Only to check if 100000 is invalid I changed /boot/defaults/loader.conf > > > Are there other restrictions on kern.maxproc? > > Did you try setting those vial /etc/sysctl.conf? kern.maxproc is set at boot time, it is not writable in multiuser mode. > > > > > Later I found all other entries in /boot/loader.conf are also ignored. > > That looks very strange. But it might be due to the jail construction > which inherits the kernel values from the host... I don't think this results from the jails. At boot time there is no active jail. And kern.maxproc sets the size of the process table which is global for the host including all jails, I think. > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... [-- Attachment #2 --] 0 *H 010 + 0 *H 00&0 *H 0q10 UDE10U Deutsche Telekom AG10UT-TeleSec Trust Center1#0!UDeutsche Telekom Root CA 20 990709121100Z 190709235900Z0q10 UDE10U Deutsche Telekom AG10UT-TeleSec Trust Center1#0!UDeutsche Telekom Root CA 20"0 *H 0 5)<9o5]JaIod`f@"ԥxhM\:ӸB@ϣYj+%'i#G,z~4|<
