Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 1996 03:21:56 +1100 (EST)
From:      michael butler <imb@scgt.oz.au>
To:        ritz@ritz.mordor.com (Chris Mauritz)
Cc:        hackers@freebsd.org
Subject:   Re: incoming connection queue
Message-ID:  <199601021621.DAA21520@asstdc.scgt.oz.au>
In-Reply-To: <199601021009.FAA07487@ritz.mordor.com> from "Chris Mauritz" at Jan 2, 96 05:09:12 am

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Mauritz writes:

> Anyone know offhand how to change size of the queue length
> for incoming ip connections?  I believe the default is now
> 32, but that's not enough on my web box.

In /usr/include/sys/socket.h or, more precisely, /usr/src/sys/sys/socket.h,
you'll find ..

#define SOMAXCONN 32

You could adjust this but .. unless it's a _really_ heavily hit or
under-powered server, I'd be very surprised if this was the problem.

Which server .. apache ?

	michael



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