From nobody  Fri Sep  4 00:19:34 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id AAA14713;
          Fri, 4 Sep 1998 00:19:34 -0700 (PDT)
          (envelope-from nobody)
Message-Id: <199809040719.AAA14713@hub.freebsd.org>
Date: Fri, 4 Sep 1998 00:19:34 -0700 (PDT)
From: Roy.Nicholl@ASGtechnologies.com
To: freebsd-gnats-submit@freebsd.org
Subject: Inclusion of kernel variable SOMAXCONN as a configurable option
X-Send-Pr-Version: www-1.0

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep  4 00:20:00 PDT 1998
>Closed-Date:    Fri Sep 4 07:37:24 PDT 1998
>Last-Modified:  Fri Sep  4 07:38:06 PDT 1998
>Originator:     Roy Nicholl
>Release:        3.0-Current
>Organization:
Atlantic Systems Group Inc.
>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.

>Release-Note:
>Audit-Trail:

From: Bruce Evans <bde@zeta.org.au>
To: freebsd-gnats-submit@FreeBSD.ORG, Roy.Nicholl@ASGtechnologies.com
Cc:  Subject: Re: kern/7831: Inclusion of kernel variable SOMAXCONN as a configurable option
Date: Fri, 4 Sep 1998 21:06:22 +1000

 >>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.
 
 Use the kern.ipc.somaxconn variable.  SOMAXCONN shouldn't even be visible
 (since it it just misleading if someone has changed kern.ipc.somaxconn).
 
 Bruce
State-Changed-From-To: open->closed 
State-Changed-By: wollman 
State-Changed-When: Fri Sep 4 07:37:24 PDT 1998 
State-Changed-Why:  
Unnecesssary -- use kern.ipc.somaxconn MIB var. 
>Unformatted:
