From owner-freebsd-net Mon Oct 29 16:23:10 2001 Delivered-To: freebsd-net@freebsd.org Received: from mail0.yrp.nttdocomo.co.jp (mail0.yrp.nttdocomo.co.jp [202.245.184.18]) by hub.freebsd.org (Postfix) with ESMTP id F1F3A37B407 for ; Mon, 29 Oct 2001 16:23:05 -0800 (PST) Received: from mml.yrp.nttdocomo.co.jp (mml.yrp.nttdocomo.co.jp [172.21.48.50]) by mail0.yrp.nttdocomo.co.jp (8.9.0/YRPHUB0-8819980304) with ESMTP id JAA00403 for ; Tue, 30 Oct 2001 09:23:04 +0900 (JST) Received: from OSUGASYSWKS (dhcp51-242.yrp.nttdocomo.co.jp [172.21.51.242]) by mml.yrp.nttdocomo.co.jp (8.9.2/3.7W-mml-990617) with SMTP id JAA23983 for ; Tue, 30 Oct 2001 09:23:03 +0900 (JST) Message-ID: <001601c160d8$c813d570$f23315ac@OSUGASYSWKS> From: "Daikichi Osuga" To: References: <000501c160d3$7b7362d0$cb8b5e82@winter> Subject: Re: Running out of sockets, TIME_WAIT state Date: Tue, 30 Oct 2001 09:21:12 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 think use T/TCP is one solution. see ttcp(4), RFC1644, and TCP/IP Illustrated Volume 3. -- Daikichi Osuga ----- Original Message ----- From: "Phil Rosenthal" To: Sent: Tuesday, October 30, 2001 8:43 AM Subject: Running out of sockets, TIME_WAIT state > I have the kernel configured with 65536 sockets. This system is very fast, > connected to a very fast network, with a very fast storage system. It is > handling about 5000 connections per second and is maxing out its 65536 > sockets (because so many are sitting in TIME_WAIT status). > This box is pushing ~90 megabit out of a gig-e card and is only using about > 50% cpu, but unfortunately it cant answer any more connections because there > are no more sockets available. i tried lowering msl, but that seems to make > the system act "wierd" (all the webserver processes seem to block at the > same status) -- and i tried upping the sockets to 131072, but that seems to > cause the system to panic. > any ideas? > --Phil > > > 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