From owner-freebsd-questions@FreeBSD.ORG Tue Aug 22 03:50:46 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF35F16A4DE for ; Tue, 22 Aug 2006 03:50:46 +0000 (UTC) (envelope-from brett@lariat.net) Received: from lariat.net (lariat.net [65.122.236.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEB4043D46 for ; Tue, 22 Aug 2006 03:50:45 +0000 (GMT) (envelope-from brett@lariat.net) Received: from Anne (IDENT:ppp1000.lariat.net@lariat.net [65.122.236.2]) by lariat.net (8.9.3/8.9.3) with ESMTP id VAA23731 for ; Mon, 21 Aug 2006 21:50:37 -0600 (MDT) X-message-flag: Warning! Use of Microsoft Outlook renders your system susceptible to Internet worms. Message-Id: <7.0.1.0.2.20060821212315.09b9aeb0@lariat.net> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Mon, 21 Aug 2006 21:50:29 -0600 To: questions@freebsd.org From: Brett Glass Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Increasing socket send buffer size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2006 03:50:46 -0000 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