Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2002 15:01:01 -0600 (CST)
From:      Mike Silbersack <silby@silby.com>
To:        Garrett Wollman <wollman@lcs.mit.edu>
Cc:        net@FreeBSD.ORG
Subject:   Re: Getting rid of maxsockets.
Message-ID:  <20020320145723.X55299-100000@patrocles.silby.com>
In-Reply-To: <200203202026.g2KKQch60289@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 20 Mar 2002, Garrett Wollman wrote:

> <<On Wed, 20 Mar 2002 14:18:31 -0600 (CST), Mike Silbersack <silby@silby.com> said:
>
> > We still need to cap the number of sockets somehow, as it would be bad for
> > sockets to consume all memory.
>
> There's already a cap: maxfiles.
>
> -GAWollman

That would end up being a reduction below the current value; right now
sockets > maxfiles with large maxuser values.  Whether or not this is a
necessary differential, I'm not sure.  (With TIME_WAIT and FIN_WAIT_2
sockets, I believe that maxsockets should exceed maxfiles.)

Mike "Silby" Silbersack


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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