Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: network outages
gdt%lexort.com@localhost (Greg Troxel) writes:
>I then did binary search on just changing sendspace. The highest value
>that works exactly is 209715 which is 0x33333.
262144 * 2048 / ( 512 + 2048 ) = 209715.
The relevant setting is kern.sbmax. Setting a socket buffer beyond
sbmax * MCLBYTES / (MSIZE + MCLBYTES) fails and the TCP protocol
no longer attaches.
The correction factor obviously should make kern.sbmax show the
total memory used for a buffer including the headers. But it's
just confusing.
Home |
Main Index |
Thread Index |
Old Index