diff --git a/en_US.ISO8859-1/books/handbook/config/chapter.sgml b/en_US.ISO8859-1/books/handbook/config/chapter.sgml index f139ad3166..aaf4671a26 100644 --- a/en_US.ISO8859-1/books/handbook/config/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/config/chapter.sgml @@ -1678,12 +1678,25 @@ kern.maxfiles: 2088 -> 5000 will require you to use the kernel &man.config.8; option. - Under extreme circumstances, you may need - to modify kern.ipc.nsfbufs sysctl. This sysctl - variable controls the number of filesystem buffers &man.sendfile.2; - is allowed to use for performing it's work. This parameter nominally - scales with kern.maxusers so you should not need - to modify it. + 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 + kernel configuration option. A + common indicator that this parameter needs to be adjusted is + when processes are seen in the sfbufa + state. The sysctl variable + kern.ipc.nsfbufs is a read-only glimpse at + the kernel configured variable. This parameter nominally + scales with kern.maxusers, however it may + be necessary to tune accordingly. + + + Even though a socket has been marked as non-blocking, + calling &man.sendfile.2; on the non-blocking socket may + result in the &man.sendfile.2; call blocking until enough + struct sf_buf's are made + available. + <varname>net.inet.ip.portrange.*</varname>