From owner-freebsd-doc@FreeBSD.ORG Mon Sep 5 08:50:19 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A4C716A41F for ; Mon, 5 Sep 2005 08:50:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE17043D48 for ; Mon, 5 Sep 2005 08:50:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j858oIK6061808 for ; Mon, 5 Sep 2005 08:50:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j858oIMU061807; Mon, 5 Sep 2005 08:50:18 GMT (envelope-from gnats) Resent-Date: Mon, 5 Sep 2005 08:50:18 GMT Resent-Message-Id: <200509050850.j858oIMU061807@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Brian Candler Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED9A016A41F for ; Mon, 5 Sep 2005 08:44:08 +0000 (GMT) (envelope-from personal@bloodhound.noc.clara.net) Received: from leto.uk.clara.net (leto.uk.clara.net [80.168.69.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9102043D49 for ; Mon, 5 Sep 2005 08:44:08 +0000 (GMT) (envelope-from personal@bloodhound.noc.clara.net) Received: from bloodhound.noc.clara.net ([195.8.70.207]) by leto.uk.clara.net with esmtp (Exim 4.43) id 1ECCaF-0000lw-CE for FreeBSD-gnats-submit@freebsd.org; Mon, 05 Sep 2005 09:44:07 +0100 Received: from personal by bloodhound.noc.clara.net with local (Exim 4.50 (FreeBSD)) id 1ECCan-0002HP-Di for FreeBSD-gnats-submit@freebsd.org; Mon, 05 Sep 2005 09:44:41 +0100 Message-Id: Date: Mon, 05 Sep 2005 09:44:41 +0100 From: Brian Candler To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/85733: FAQ should point to /boot/loader.conf for changing kern.maxproc X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Brian Candler List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2005 08:50:19 -0000 >Number: 85733 >Category: docs >Synopsis: FAQ should point to /boot/loader.conf for changing kern.maxproc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 05 08:50:18 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Brian Candler >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: System: FreeBSD XXX 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: http://www.freebsd.org/doc/faq/troubleshoot.html#PROC-TABLE-FULL says: "If your machine is lightly loaded, and you are simply running a very large number of processes, you can adjust this with the kern.maxproc sysctl. ... To make a sysctl permanent across reboots, set this in /etc/sysctl.conf in recent versions of FreeBSD, or /etc/rc.local in older versions." However, this particular tunable needs to be set in /boot/loader.conf and requires a reboot. It's true that attempting to make the change manually tells you this: # sysctl kern.maxproc=2000 sysctl: oid 'kern.maxproc' is a read only tunable sysctl: Tunable values are set in /boot/loader.conf However, readers of this document might be inclined just to put a setting in /etc/sysctl.conf, and then find it doesn't work. >How-To-Repeat: >Fix: Refer to /boot/loader.conf, and/or cross-reference to http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-sysctl.html (Personally I don't know a way to tell whether sysctl variable X is a /boot/loader.conf tunable or an /etc/sysctl.conf frob other than trying to change it. If there's a better way, please document that too :-) >Release-Note: >Audit-Trail: >Unformatted: