Bug 194568 - [patch] add new sysctl for minimum soacceptqueue length
Summary: [patch] add new sysctl for minimum soacceptqueue length
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.0-STABLE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-23 23:37 UTC by William Pitcock
Modified: 2014-10-23 23:37 UTC (History)
0 users

See Also:


Attachments
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]
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.