Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 1998 00:19:34 -0700 (PDT)
From:      Roy.Nicholl@ASGtechnologies.com
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   kern/7831: Inclusion of kernel variable SOMAXCONN as a configurable option
Message-ID:  <199809040719.AAA14713@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         7831
>Category:       kern
>Synopsis:       Inclusion of kernel variable SOMAXCONN as a configurable option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep  4 00:20:00 PDT 1998
>Last-Modified:
>Originator:     Roy Nicholl
>Organization:
Atlantic Systems Group Inc.
>Release:        3.0-Current
>Environment:
FreeBSD lizard 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Sat Aug 29 23:18:32 ADT 1998 
root@lizard:/usr/src/sys/compile/LIZARD  i386
>Description:
In certain situations [i.e. high volume proxy server] it is necessary to adjust the value of 
SOMAXCONN upward from its default of 128.
>How-To-Repeat:
N/A
>Fix:
Two changes are required to allow a statment of 'options "SOMAXCONN=256"' in a
kernel configuration file:

1) SOMAXCONN should be added to the sys/i386/conf/options.i386 file to allow config(8)
to recognise it as a valid option.
2) The statement 
    #define SOMAXCONN 128
in <sys/socket.h> should be bracketed in an #ifndef.....#endif clause.

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809040719.AAA14713>