Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 1997 12:41:24 -0700 (PDT)
From:      Tom <tom@sdf.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/3699: listen() backlog in xinet is too small (patch enclosed)
Message-ID:  <199705271941.MAA01467@darkness.sdf.com>
Resent-Message-ID: <199705271950.MAA00687@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
>Number:         3699
>Category:       ports
>Synopsis:       listen() backlog in xinetd is too small (patch enclosed)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 27 12:50:01 PDT 1997
>Last-Modified:
>Originator:     Tom
>Organization:
sdf.com
>Release:        FreeBSD 2.2-STABLE i386
>Environment:

  FreeBSD 2.2-stable

>Description:

  The listen() backlog in xinetd is too small (5).  High client load and/or 
sluggish network response will fill it very quicly.

>How-To-Repeat:

  Use xinetd on a busy system.

>Fix:
	
*** xinetd/defs.h.orig	Thu Mar 20 11:29:27 1997
--- xinetd/defs.h	Thu Mar 20 11:29:46 1997
***************
*** 100,106 ****
  /*
   * Used for listen(2)
   */
! #define LISTEN_BACKLOG					7
  
  /*
   * When explicit values are given for enum's, that is because the structures 
--- 100,106 ----
  /*
   * Used for listen(2)
   */
! #define LISTEN_BACKLOG					64
  
  /*
   * When explicit values are given for enum's, that is because the structures 
>Audit-Trail:
>Unformatted:



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