From owner-freebsd-hackers Thu May 21 21:03:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA20220 for freebsd-hackers-outgoing; Thu, 21 May 1998 21:03:13 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from antipodes.cdrom.com (castles145.castles.com [208.214.165.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA20165; Thu, 21 May 1998 21:03:03 -0700 (PDT) (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id TAA06672; Thu, 21 May 1998 19:59:07 -0700 (PDT) Message-Id: <199805220259.TAA06672@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Mark Mayo cc: isp@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: TIME_WAIT/FIN_WAIT_2... In-reply-to: Your message of "Thu, 21 May 1998 23:09:48 EDT." <19980521230948.A23199@vmunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 21 May 1998 19:59:06 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi all.. I have a few questions about large web servers. I've run a > few relatively large web sites on freebsd in the past, but none that > put out more than 300-400,000 objects per day (html+gif..). I've been > looking at a Solaris machine today that's putting out about 2 million > pages a day. The somewhat odd thing is the extraordinary number of > sockets left open in TIME_WAIT and FIN_WAIT_2. I roughly understand > what they mean, but we're talking about 3000 entries here (about 400-500 > of which are FIN_WAIT_2, the rest are TIME_WAIT).. So I have ~3000 > sockets in TIME_WAIT/FIN and only about 100 ESTABLISHED. > > Is this normal?? It doesn't seem like it to me. If not, what would be > causing it, and what should I look at tuning on the Slowaris box?? You might be able to tune down the closing delay, but in reality I can't see it as a "real" problem unless the number is growing or you are resource-starved because of it. Of course, the "correct" tuning action would be to replace Solaris with FreeBSD. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message