Bug 194568 - sys/kern/uipc_socket: Add new sysctl for minimum soacceptqueue length
Summary: sys/kern/uipc_socket: Add new sysctl for minimum soacceptqueue length
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.0-STABLE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-net (Nobody)
Keywords: easy, feature, needs-qa
Depends on:
Reported: 2014-10-23 23:37 UTC by William Pitcock
Modified: 2021-07-19 03:02 UTC (History)
1 user (show)

See Also:

freebsd-soacceptqueue-minimum.patch (1.58 KB, patch)
2014-10-23 23:37 UTC, William Pitcock
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description William Pitcock 2014-10-23 23:37:39 UTC
Created attachment 148599 [details]


The attached patch adds a new sysctl:


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

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