Increasing socket send buffer size
Brett Glass
brett at lariat.net
Tue Aug 22 03:50:46 UTC 2006
I'm working with a system in which a program is failing because it
sometimes tries to write more data to a stream socket than will
fit. It reports that it can't write to the socket because it's out
of buffer space, then dies ungracefully.
What's the best solution to this problem? The only tunable I can
find that seems to address this issue is kern.ipc.maxsockbuf, which
seems to set an absolute ceiling on the size of a socket's buffers.
--Brett Glass
More information about the freebsd-questions
mailing list