Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2019 14:43:19 +0100
From:      Polytropon <freebsd@edvax.de>
To:        "Witzel, Stefan" <Stefan.Witzel@zvw.uni-goettingen.de>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Ignoring /boot/loader.conf and  /boot/loader.conf.local?
Message-ID:  <20190319144319.c914f62f.freebsd@edvax.de>
In-Reply-To: <d47bac422be14daf83c120a0efaee6a7@zvw.uni-goettingen.de>
References:  <d47bac422be14daf83c120a0efaee6a7@zvw.uni-goettingen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



> Are there other restrictions on kern.maxproc?

Did you try setting those vial /etc/sysctl.conf?



> 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...




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190319144319.c914f62f.freebsd>