Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: jah@mojo.ots.utexas.edu (Jeff Hayward)
Subject: Re: Half-open TCP connections under high load
Date: 1995/09/12	[thread overview]
Message-ID: <433ql6$k4g@geraldo.cc.utexas.edu> (raw)
In-Reply-To: 432lel$3a4@usenet.pa.dec.com

In article <432lel$3a4@usenet.pa.dec.com>,
Jeffrey Mogul <mogul@pa.dec.com> wrote:
>There's a kernel global, somaxconn, that controls the queue limit.
>I think the default value is "8".  You should set it to be much
>larger.  I would imagine that setting it to 1000 wouldn't hurt,
>unless you have almost no RAM on the system.  I think this has
>to be done using dbx, but there might be another way.
>
>This will have no effect, however, unless you ALSO change the
>second argument of the listen() system call (done in your SMTP
>listener) to be equally large, or larger. 


This seems to be the correct advice.  In case anyone else sees this
problem
	dbx -k /vmunix
	assign somaxconn=large #
	exit

sets the kernel variable, and

	OOListen=large #

in the sendmail config file tells sendmail 8 what number to use
for the "backlog" variable in the "listen" system call.

Thanks much for the help.

--
Jeff Hayward



      reply	other threads:[~1995-09-12  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-09-08  4:00 Half-open TCP connections under high load Jeff Hayward
1995-09-12  4:00 ` Jeffrey Mogul
1995-09-12  4:00   ` Jeff Hayward [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox