*BSD News Article 51621


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!newshost.marcam.com!usc!howland.reston.ans.net!agate!reason.cdrom.com!usenet
From: "Jordan K. Hubbard" <jkh@FreeBSD.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Where is tcp/ip backlog parameter set in source?
Date: 17 Sep 1995 04:02:47 GMT
Organization: Walnut Creek CDROM
Lines: 15
Message-ID: <43g6l7$2tl@reason.cdrom.com>
References: <JOE.95Sep15193428@ns.via.net>
NNTP-Posting-Host: time.cdrom.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.1N (X11; I; FreeBSD 2.1-STABLE i386)
To: joe@ns.via.net
X-URL: news:JOE.95Sep15193428@ns.via.net

joe@ns.via.net (Joe McGuckin) wrote:
>I was reading a tech report from Sun that mentioned that one way to 
>increase the performance of web servers was to increase the default size
>of the backlog value (currently hard set to 5) used in the listen() system 
>call.

Hmmmmm..  Looks to be /usr/src/sys/kern/uipc_socket.c.  Our backlog is set
here:
	/sys/sys/socket.h:#define       SOMAXCONN       32

I agree that this should be a MIB variable, tweakable with sysctl...  I'll
look into it.
-- 
						Jordan