SV: Automatic TCP send socker buffer sizing
andre at freebsd.org
Fri Nov 17 17:59:30 UTC 2006
>> A RELENG_6 version (for FreeBSD 6.x) of the patch is here:
>> Just apply this patch and recompile your kernel. It is
>> activated by default.
> Downloaded, applied, recompiled, installed and rebooted without any errors.
> I did however add the sysctl variables to my /etc/sysctl.conf just in case.
>> Be aware that all socket buffer sizing events get logged to
>> syslog under LOG_DEBUG.
> Does this mean they will automatically show up in /var/log/debug.log?
Yes, or in /var/log/messages.
>> This may affect overall system
>> performance and you may want to disable logging to disk of
>> this in syslogd.conf.
> I could use some help with the syntax for this... :-)
I'd remove "kern.debug" from the /var/log/messages line and comment
out the /var/log/debug.log line for the time being after you see a
couple of lines with tcp_output: ...
> And a final question: Will this feature work regardless of what side
> initiates the TCP connection? Or will I have to instruct my ftp-users to use
> active mode only when they transfer files to/from my FreeBSD box?
It doesn't matter which side opens the connection.
More information about the freebsd-net