Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2006 21:50:29 -0600
From:      Brett Glass <brett@lariat.net>
To:        questions@freebsd.org
Subject:   Increasing socket send buffer size
Message-ID:  <7.0.1.0.2.20060821212315.09b9aeb0@lariat.net>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7.0.1.0.2.20060821212315.09b9aeb0>