Bug 194568

Summary: sys/kern/uipc_socket: Add new sysctl for minimum soacceptqueue length
Product: Base System Reporter: William Pitcock <nenolod>
Component: kernAssignee: freebsd-net (Nobody) <net>
Status: Open ---    
Severity: Affects Some People CC: net
Priority: --- Keywords: easy, feature, needs-qa
Version: 10.0-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
freebsd-soacceptqueue-minimum.patch none

Description William Pitcock 2014-10-23 23:37:39 UTC
Created attachment 148599 [details]
freebsd-soacceptqueue-minimum.patch

Hello,

The attached patch adds a new sysctl:

   kern.ipc.soacceptqueue_minimum

It allows the system administrator to override the socket accept queue length.  This is useful in cases where applications call listen(2) with too low of a socket queue length for a busy deployment, yet there is no application tunable for it.

I look forward to any comments on the patch, we are using it in production on a large cluster already.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2021-07-19 03:02:09 UTC
^Triage:

  somaxconn is now kern.ipc.soacceptqueue so patch needs an update and rebased, but someone can likely handle this anyway, if we want it.