From owner-freebsd-net@FreeBSD.ORG Fri May 13 20:20:40 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92F6A16A4CE for ; Fri, 13 May 2005 20:20:40 +0000 (GMT) Received: from mail.frii.com (phobos01.frii.net [216.17.128.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E22043D5A for ; Fri, 13 May 2005 20:20:40 +0000 (GMT) (envelope-from matt@frii.com) Received: from elara.frii.com (elara.frii.com [216.17.128.39]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by mail.frii.com (FRII) with ESMTP id D73431DF392; Fri, 13 May 2005 14:20:39 -0600 (MDT) Date: Fri, 13 May 2005 14:20:39 -0600 (MDT) From: Matt Ruzicka X-X-Sender: mattr@elara.frii.com To: Maxim Konovalov In-Reply-To: <20050513234632.G89371@mp2.macomnet.net> Message-ID: References: <20050513230848.K89035@mp2.macomnet.net> <20050513234632.G89371@mp2.macomnet.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: **net** Re: Outbound TCP issue, potentially related to'FreeBSD-SA-05:08.kmem [REVISED]' X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2005 20:20:40 -0000 Great, thank you very much for the advice and attention on this issue. I very much appreciate it. The short term results on these seem very good. Thanks again. Matthew Ruzicka - Systems Administrator Front Range Internet, Inc. matt@frii.net - (970) 212-0728 Got SPAM? Take back your email with MailArmory. http://www.MailArmory.com On Fri, 13 May 2005, Maxim Konovalov wrote: > [...] > > When I check the vmstat while getting errors from the netcat script I get > > this. > > > > -->vmstat -z | grep -i sock 2005/05/13 13:33:20 > > socket: 224, 16424, 16438, 0, 1150867 > > Limit ---------------------^^^^^ > Current ---------------------------^^^^^ > > > Here is my vmstat -z in a "normal" state. > > > > ITEM SIZE LIMIT USED FREE REQUESTS > [...] > > socket: 224, 16424, 3621, 12817, 1167053 > > [...] > > And during the failures.. > > > > ITEM SIZE LIMIT USED FREE REQUESTS > [...] > > socket: 224, 16424, 16430, 8, 1201620 > > [...] > > Am I pretty much just looking at a tuning issue at this point I assume? > > 1) Use a persistent connection if possible. > > 2) > > /etc/sysctl.conf: > net.inet.tcp.msl="5000" > net.inet.ip.portrange.last="50000" > > perhaps > > /boot/loader.conf: > kern.ipc.maxsockets="32768" > > -- > Maxim Konovalov > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >