Add a comment about being able to tune nsfbufs at boot. Add references to

loader.8 and /boot/loader.conf now that they have been updated to include
kern.ipc.nsfbufs.

Pointed out by:	Hiten Pandya <hiten@unixdaemons.com>
Approved by:	roam
This commit is contained in:
Sean Chittenden 2003-03-04 23:52:40 +00:00
parent 0e78257234
commit d448d55f13
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=16199

View file

@ -1681,14 +1681,15 @@ kern.maxfiles: 2088 -> 5000</screen>
<para>For busy servers that make extensive use of the
&man.sendfile.2; system call, it may be necessary to increase
the number of &man.sendfile.2; buffers via the
<option>NSFBUFS</option> kernel configuration option. A
common indicator that this parameter needs to be adjusted is
when processes are seen in the <errorname>sfbufa</errorname>
state. The sysctl variable
<varname>kern.ipc.nsfbufs</varname> is a read-only glimpse at
the kernel configured variable. This parameter nominally
scales with <varname>kern.maxusers</varname>, however it may
be necessary to tune accordingly.</para>
<option>NSFBUFS</option> kernel configuration option or by
setting its value in <filename>/boot/loader.conf</filename>
(see &man.loader.8; for details). A common indicator that
this parameter needs to be adjusted is when processes are seen
in the <errorname>sfbufa</errorname> state. The sysctl
variable <varname>kern.ipc.nsfbufs</varname> is a read-only
glimpse at the kernel configured variable. This parameter
nominally scales with <varname>kern.maxusers</varname>,
however it may be necessary to tune accordingly.</para>
<important>
<para>Even though a socket has been marked as non-blocking,