docs/85733: FAQ should point to /boot/loader.conf for changing kern.maxproc
Daniel Gerzo
danger at rulez.sk
Sat Sep 24 12:20:23 UTC 2005
The following reply was made to PR docs/85733; it has been noted by GNATS.
From: Daniel Gerzo <danger at rulez.sk>
To: bug-followup at FreeBSD.org, B.Candler at pobox.com
Cc:
Subject: Re: docs/85733: FAQ should point to /boot/loader.conf for changing kern.maxproc
Date: Sat, 24 Sep 2005 14:13:26 +0200
I think this should be proper diff:
--- book.sgml.orig Sat Sep 24 12:58:51 2005
+++ book.sgml Sat Sep 24 14:09:07 2005
@@ -3313,8 +3313,12 @@
<para>If your machine is lightly loaded, and you are simply
running a very large number of processes, you can adjust
- this with the <varname>kern.maxproc</varname> sysctl. If
- these processes are being run by a single user, you will
+ this with the <varname>kern.maxproc</varname> tunable. If
+ you want to adjust this tunable, you will need to set this
+ in <filename>/boot/loader.conf</filename> and reboot. For
+ more information about tuning tunables, you should see the
+ &man.loader.conf.5; and &man.sysctl.conf.5; manual pages.
+ If these processes are being run by a single user, you will
also need to adjust <varname>kern.maxprocperuid</varname>
to be one less than your new
<varname>kern.maxproc</varname> value. (It must be at
@@ -3322,9 +3326,10 @@
must always be running.)</para>
<para>To make a sysctl permanent across reboots, set this in
- <filename>/etc/sysctl.conf</filename> in recent versions
- of FreeBSD, or <filename>/etc/rc.local</filename> in older
- versions.</para>
+ <filename>/etc/sysctl.conf</filename>. More information
+ about tuning with sysctl can be found at <ulink
+ url="&url.books.handbook;/configtuning-sysctl.html">Tuning
+ with sysctl</ulink> section of the Handbook.</para>
</answer>
</qandaentry>
--
Sincerely,
Daniel Gerzo
More information about the freebsd-doc
mailing list