From owner-freebsd-hackers Thu May 21 21:38:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA28129 for freebsd-hackers-outgoing; Thu, 21 May 1998 21:38:28 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA28014; Thu, 21 May 1998 21:38:05 -0700 (PDT) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id VAA28329; Thu, 21 May 1998 21:37:44 -0700 (PDT) Message-Id: <199805220437.VAA28329@implode.root.com> 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> From: David Greenman Reply-To: dg@root.com Date: Thu, 21 May 1998 21:37:44 -0700 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?? > >TIA for any ideas! All I know is that I just don't trust sockets on >Solaris... :-) It's normal and required by the TCP specification. FreeBSD will do the same thing in the this situation. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message