TCP packet out-of-order problem

Lin Jui-Nan Eric ericlin at tamama.org
Fri Jan 2 06:49:30 UTC 2009


Dear All listers,

After running "netstat -s -p tcp", we found that lots of packets are
discarded due to memory problems. We googled for it, and found that
sysctl oid "net.inet.tcp.reass.maxsegments" became 0, therefore
packets never reassembled.

Then we checked our /boot/loader.conf and /etc/sysctl.conf, and found
that setting kern.ipc.nmbclusters="0" makes
net.inet.tcp.reass.maxsegments=0.
After setting net.inet.tcp.reass.maxsegments="1600" in
/boot/loader.conf, the network works perfectly now.

Thank you all for the help!


More information about the freebsd-stable mailing list