Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Aug 1998 17:56:18 -0700
From:      David Greenman <dg@root.com>
To:        dbickle@bac.ca
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Question Concerning Socket Buffers 
Message-ID:  <199808050056.RAA04974@implode.root.com>
In-Reply-To: Your message of "Tue, 04 Aug 1998 20:29:57 EDT." <vines.M3dD%2BcQulpA@bacott200.bac.ca> 

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



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