Subject: Re: New sysctl "net.listen_backlog"?
To: Todd Vierling <email@example.com>
From: Perry E. Metzger <firstname.lastname@example.org>
Date: 09/14/1998 20:16:25
Todd Vierling writes:
> Now, what about an "options LISTEN_BACKLOG" to set a compile-time default,
> in the same way that DDB_ONPANIC sets the switch at compile time? (If
> nonexistent, the option would of course default to 128.)
I don't like calling it LISTEN_BACKLOG, given that the thing it
touches is maxconn. The option is a decent idea.
> And, what should the hard limit be--that even sysctl() can not go above?
> (This will become the value of SOMAXCONN such that programs using the
> macro will gain the higher limits without recompiling.)
Leave SOMAXCONN at 128, I say.