From owner-freebsd-questions Sun May 13 10: 2:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from root.com (unknown [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id B4F6137B42C for ; Sun, 13 May 2001 10:02:29 -0700 (PDT) (envelope-from dg@root.com) Received: (from dg@localhost) by root.com (8.11.2/8.11.2) id f4DGvwA43460; Sun, 13 May 2001 09:57:58 -0700 (PDT) (envelope-from dg) Date: Sun, 13 May 2001 09:57:58 -0700 From: David Greenman To: Ali Niknam Cc: questions@freebsd.org Subject: Re: TCP/IP Listen queue overflows? Message-ID: <20010513095758.U19893@nexus.root.com> References: <00d801c0dbca$1b296bb0$0300a8c0@cow> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00d801c0dbca$1b296bb0$0300a8c0@cow>; from ali@iephosting.net on Sun, May 13, 2001 at 06:31:04PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Hi Guys, > >As I'm not very well known with TCP/IP I need to ask you this question :) Hope it isn't too stupid ;) > >When I do a netsat -s I get a line which says listen que overflows: > > 4104 listen queue overflows > >How bad is this? > >I already tried to solve it by doing this: >sysctl -w net.inet.tcp.recvspace=32768 >sysctl -w net.inet.tcp.sendspace=32768 Those don't have any direct effect on the problem. What you need to change is this: sysctl -w kern.ipc.somaxconn=1024 -DG David Greenman Co-founder, The FreeBSD Project - http://www.freebsd.org President, TeraSolutions, Inc. - http://www.terasolutions.com Pave the road of life with opportunities. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message