Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | raw e-mail

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. 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 possible to set kern.maxproc greater 100000 if all pids are from the interval [0, 99999] and unique?

Thanks in advance.

Stefan


home | help

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