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:
parent
0e78257234
commit
d448d55f13
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=16199
1 changed files with 9 additions and 8 deletions
|
@ -1681,14 +1681,15 @@ kern.maxfiles: 2088 -> 5000</screen>
|
||||||
<para>For busy servers that make extensive use of the
|
<para>For busy servers that make extensive use of the
|
||||||
&man.sendfile.2; system call, it may be necessary to increase
|
&man.sendfile.2; system call, it may be necessary to increase
|
||||||
the number of &man.sendfile.2; buffers via the
|
the number of &man.sendfile.2; buffers via the
|
||||||
<option>NSFBUFS</option> kernel configuration option. A
|
<option>NSFBUFS</option> kernel configuration option or by
|
||||||
common indicator that this parameter needs to be adjusted is
|
setting its value in <filename>/boot/loader.conf</filename>
|
||||||
when processes are seen in the <errorname>sfbufa</errorname>
|
(see &man.loader.8; for details). A common indicator that
|
||||||
state. The sysctl variable
|
this parameter needs to be adjusted is when processes are seen
|
||||||
<varname>kern.ipc.nsfbufs</varname> is a read-only glimpse at
|
in the <errorname>sfbufa</errorname> state. The sysctl
|
||||||
the kernel configured variable. This parameter nominally
|
variable <varname>kern.ipc.nsfbufs</varname> is a read-only
|
||||||
scales with <varname>kern.maxusers</varname>, however it may
|
glimpse at the kernel configured variable. This parameter
|
||||||
be necessary to tune accordingly.</para>
|
nominally scales with <varname>kern.maxusers</varname>,
|
||||||
|
however it may be necessary to tune accordingly.</para>
|
||||||
|
|
||||||
<important>
|
<important>
|
||||||
<para>Even though a socket has been marked as non-blocking,
|
<para>Even though a socket has been marked as non-blocking,
|
||||||
|
|
Loading…
Reference in a new issue