Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2001 13:34:15 -0400
From:      FastPathNow@netscape.net
To:        lekostaj@mcs.anl.gov
Cc:        freebsd-net@freebsd.org
Message-ID:  <6833EC93.7369A9B8.375A6AF3@netscape.net>

next in thread | raw e-mail | index | archive | help
Try restricting sendspace and recvspace to 256K. If you're adventurous, try recompiling the kernel after bumping up the #define SB_MAX (in /usr/src/sys/sys/socketvar.h) beyond the default value of 256*1024

-AG

-----
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

__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/

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?6833EC93.7369A9B8.375A6AF3>