On Thu, 12 Apr 2001, Jonathan Lemon wrote:

> In article <local.mail.freebsd-current/[EMAIL PROTECTED]> you 
>write:
> >Here are patches to make SOMAXCONN tunable from the config files.
> >
> >Right now, it's not possible to override SOMAXCONN.
> 
>       sysctl -w kern.ipc.somxconn=1024
> 
> SOMAXCONN is just a compile time default, and yes it is not 
> currently tunable at config time.  Does it really have to be?

Of course it doesn't have to be tunable at config time.

> Just stick it in /etc/sysctl.conf, and it gets set before most
> things are started in the system.

Changing the actual limit using either the sysctl or an option breaks
SOMAXCONN.  I think the correct fix is to never define it change
whatever uses it to use sysconf(_SC_SOMAXCONN).  Similarly for all
other manifest constants that aren't actually constant.

Bruce


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to