Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2001 06:35:23 +0800
From:      Tan Koan-Sin <freedom@csie.nctu.edu.tw>
To:        Joseph Lekostaj <lekostaj@mcs.anl.gov>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: TCP window size
Message-ID:  <20010711063523.A25039@magpie.csie.nctu.edu.tw>
In-Reply-To: <youy9pwstzl.fsf@fluffhead.mcs.anl.gov>; from lekostaj@mcs.anl.gov on Tue, Jul 10, 2001 at 10:07:26AM -0500
References:  <youy9pwstzl.fsf@fluffhead.mcs.anl.gov>

next in thread | previous in thread | raw e-mail | index | archive | help

I don't think increasing kern.ipc.maxsockbuffer to such a big
number is a good idea. You may want either reduce this value
or increase maximum number of mbufs by setting NMBCLUSTERS
in your kernel configuration file.


On Tue, Jul 10, 2001 at 10:07:26AM -0500, Joseph Lekostaj wrote:
> I've been trying to up my TCP window size from the default 16K and it's caused nothing but problems.  From the info I've found so far, these are the sysctl i've changed:
> 
> kern.ipc.maxsockbuffer=2097152
> net.inet.tcp.rfc1323=1
> net.inet.tcp.sendspace=524288
> net.inet.tcp.recvspace=524288
> 
> But if I do that, on boot I get all sorts of error messages about buffer space.  i.e.:
> 
> Jul  9 11:53:20 ccn64 portmap[180]: cannot create tcp socket: No buffer space available
> Jul  9 11:53:21 ccn64 inetd[199]: shell/tcp: socket: No buffer space available
> Jul  9 11:53:21 ccn64 inetd[199]: login/tcp: socket: No buffer space available
> Jul  9 11:58:55 ccn64 RPC::PlClient[243]: Cannot connect: No buffer space available 
> Jul  9 11:58:55 ccn64 RPC::PlClient[246]: Cannot connect: No buffer space available
> 
> Is there anything I'm missing?
> 
> -- 
> Joe LeKostaj
> -------------------------------------------------------------------------
> Just don't create a file called -rf.
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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