TCP Reassembly Issues [SOLVED?]

Kris Bauer kristoph.bauer at gmail.com
Sat Nov 26 12:06:55 UTC 2011


On Sat, Nov 26, 2011 at 5:30 AM, Raul <raul at b2n.org> wrote:

> El 26/11/2011 6:23, Lawrence Stewart escribió:
>
> ...
>
>> kernel to test a patch please try the following and report back to the
>> list:
>>
>>
>> http://people.freebsd.org/~lstewart/patches/misctcp/tcp_reass_plugzoneleak_10.x.r227986.patch
>>
>>
>> The patch is against head r227986 but will apply and work correctly for
>> 9.0 as well.
>>
>
> Cleanly applied against RELENG_9_0.
>
> As my case was not exactly the same as Kris or Stefan I'd wait their
> feedback but as far I concern, *it works perfect!*.
>
> [....]
> %sysctl kern.version | head -n1
> kern.version: FreeBSD 9.0-RC2 #1: Sat Nov 26 10:24:38 CET 2011
>
> %uptime
> 12:06PM  up  1:30, 3 users, load averages: 0,07 0,08 0,10
>
> %vmstat -z | head -n1 ; vmstat -z | grep reass
> ITEM                   SIZE  LIMIT     USED     FREE      REQ FAIL SLEEP
> tcpreass:                40,   1680,      58,    1370,  276624,   0,   0
>
> %sysctl net.inet.tcp.reass
> net.inet.tcp.reass.overflows: 5
> net.inet.tcp.reass.cursegments: 17
> net.inet.tcp.reass.maxsegments: 1680
>
> %netstat -s -p tcp | grep mem
>                5 discarded due to memory problems
> [....]
>
> I'll leave the box stressing the tcp stack a couple of days, just in case.
>
> Thanks a lot.
>
> Regards,
> Raúl.
>

After 5 hours and a few gigs of traffuc, things have been fine:
# sysctl net.inet.tcp.reass
net.inet.tcp.reass.overflows: 155
net.inet.tcp.reass.cursegments: 0
net.inet.tcp.reass.maxsegments: 4116

Kris


More information about the freebsd-stable mailing list