From owner-freebsd-net Tue Jul 10 15:35:42 2001 Delivered-To: freebsd-net@freebsd.org Received: from magpie.csie.nctu.edu.tw (magpie.csie.nctu.edu.tw [140.113.209.21]) by hub.freebsd.org (Postfix) with ESMTP id 2279837B405 for ; Tue, 10 Jul 2001 15:35:36 -0700 (PDT) (envelope-from freedom@magpie.csie.nctu.edu.tw) Received: (from freedom@localhost) by magpie.csie.nctu.edu.tw (8.11.3/8.11.2) id f6AMZNx25380; Wed, 11 Jul 2001 06:35:23 +0800 (CST) (envelope-from freedom) Date: Wed, 11 Jul 2001 06:35:23 +0800 From: Tan Koan-Sin To: Joseph Lekostaj Cc: freebsd-net@FreeBSD.ORG Subject: Re: TCP window size Message-ID: <20010711063523.A25039@magpie.csie.nctu.edu.tw> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from lekostaj@mcs.anl.gov on Tue, Jul 10, 2001 at 10:07:26AM -0500 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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