Date: Sat, 24 Sep 2005 12:20:22 GMT From: Daniel Gerzo <danger@rulez.sk> To: freebsd-doc@FreeBSD.org Subject: Re: docs/85733: FAQ should point to /boot/loader.conf for changing kern.maxproc Message-ID: <200509241220.j8OCKMmA072874@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/85733; it has been noted by GNATS. From: Daniel Gerzo <danger@rulez.sk> To: bug-followup@FreeBSD.org, B.Candler@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509241220.j8OCKMmA072874>