Subject: Re: Web load causes reboot
To: Michael Graff <explorer@flame.org>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 08/03/1999 17:22:45
On 03 Aug 1999 17:17:17 -0700 
 Michael Graff <explorer@flame.org> wrote:

 > It's unfortunate that network sockets seem to reserve so much space.
 > How do other 256M machines running FreeBSD (for example) cope with
 > 10,000 or more TCP streams open at once?  If we did that, we'd end up
 > allocating about 312M just for socket buffers, I think...

Um...

Socket buffers aren't "allocated".  When you "allocate" a socket buffer,
you're placing a limit on it... the actual space is lazy allocated... the
"allocated" space is actually mbufs allocated in a network driver and
handed up the stack.

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>