From owner-freebsd-questions Tue Aug 4 17:59:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA02928 for freebsd-questions-outgoing; Tue, 4 Aug 1998 17:59:29 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA02912 for ; Tue, 4 Aug 1998 17:59:25 -0700 (PDT) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id RAA04974; Tue, 4 Aug 1998 17:56:18 -0700 (PDT) Message-Id: <199808050056.RAA04974@implode.root.com> To: dbickle@bac.ca cc: freebsd-questions@FreeBSD.ORG Subject: Re: Question Concerning Socket Buffers In-reply-to: Your message of "Tue, 04 Aug 1998 20:29:57 EDT." From: David Greenman Reply-To: dg@root.com Date: Tue, 04 Aug 1998 17:56:18 -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >I am having difficulty sending out Mbone media streams. Every receiving station is >experiencing packet loss (>40%). We have determined that this could be a result of >insufficient memory in the send and receive buffers. I have attempted to modify these >settings with the "sysctl" command. The commands and parameters used are as follows: > > sysctl -w kern.maxsockbuf=1048576 > sysctl -w net.inet.tcp.sendspace=1048576 > sysctl -w net.inet.tcp.recvspace=1048576 > sysctl -w net.inet.udp.recvspace=1048576 > >After making these modifications I experience errors when I try to launch the Session >Directory or X Windows. The errors are as follows: > > SDR Error > couldn't get SIP receive socket: no buffer space available > > XWindows Error > _XSERVTransSocketOpen: socket() failed for tcp > _XSERVTransSocketCOTSServer: Unable to open socket for tcp > _XSERVTransMakeAllCOTSServerListeners: failed to open listener for tcp > >Any suggetstions? Yeah, don't do that. The socket send/recv space isn't the problem - in fact changing that will likely make things much worse or completely non- functional. If you are running out of buffers, then you need to tune the NMBCLUSTERS kernel option. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message