From owner-freebsd-questions@freebsd.org Tue Mar 19 12:56:08 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 848F2154FE2B for ; Tue, 19 Mar 2019 12:56:08 +0000 (UTC) (envelope-from Stefan.Witzel@zvw.uni-goettingen.de) Received: from tmailer.gwdg.de (tmailer.gwdg.de [134.76.10.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A432B83F77 for ; Tue, 19 Mar 2019 12:56:07 +0000 (UTC) (envelope-from Stefan.Witzel@zvw.uni-goettingen.de) Received: from excmbx-25.um.gwdg.de ([134.76.9.235] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (Exim 4.90_1) (envelope-from ) id 1h6EHm-0002gK-3S for freebsd-questions@freebsd.org; Tue, 19 Mar 2019 13:56:06 +0100 Received: from EXCMBX-03.um.gwdg.de (134.76.9.218) by excmbx-25.um.gwdg.de (134.76.9.235) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 19 Mar 2019 13:56:05 +0100 Received: from EXCMBX-03.um.gwdg.de ([fe80::c022:aee6:d671:12de]) by EXCMBX-03.um.gwdg.de ([fe80::c022:aee6:d671:12de%20]) with mapi id 15.01.1713.004; Tue, 19 Mar 2019 13:56:05 +0100 From: "Witzel, Stefan" To: "freebsd-questions@freebsd.org" Subject: Ignoring /boot/loader.conf and /boot/loader.conf.local? Thread-Topic: Ignoring /boot/loader.conf and /boot/loader.conf.local? Thread-Index: AdTeTsvdfAdQEGYLR/y4j7HsvqakGg== Date: Tue, 19 Mar 2019 12:56:05 +0000 Message-ID: Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [134.76.168.70] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Scanned: (clean) by clamav X-Rspamd-Queue-Id: A432B83F77 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [3.25 / 15.00]; ARC_NA(0.00)[]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_MEDIUM(0.42)[0.420,0]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[uni-goettingen.de]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_SHORT(0.76)[0.758,0]; RCVD_IN_DNSWL_MED(-0.20)[23.10.76.134.list.dnswl.org : 127.0.11.2]; MX_GOOD(-0.01)[cached: c1233.mx.srv.dfn.de]; NEURAL_SPAM_LONG(0.38)[0.380,0]; TO_DN_EQ_ADDR_ALL(0.00)[]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:680, ipnet:134.76.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[asn: 680(0.02), country: DE(-0.01)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Mar 2019 12:56:08 -0000 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