From owner-freebsd-questions Mon Jul 15 03:08:42 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA25260 for questions-outgoing; Mon, 15 Jul 1996 03:08:42 -0700 (PDT) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA25248 for ; Mon, 15 Jul 1996 03:08:39 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.5/8.6.5) with SMTP id DAA02851; Mon, 15 Jul 1996 03:08:39 -0700 (PDT) Message-Id: <199607151008.DAA02851@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: bill@twwells.com (T. William Wells) cc: freebsd-questions@FreeBSD.ORG Subject: Re: system hangs? after resetting rtq_reallyold In-reply-to: Your message of "15 Jul 1996 05:17:43 EDT." <4sd2bn$47f@twwells.com> From: David Greenman Reply-To: davidg@root.com Date: Mon, 15 Jul 1996 03:08:39 -0700 Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >In article <199607150758.AAA02464@root.com>, >David Greenman wrote: >: It shouldn't be necessary to set NMBCLUSTERS that high on most "normal" >: systems. It would take several hundred TCP connections to exhaust 2000 mbuf >: clusters. > >The machine in question is our main shell account server, which >also hosts our Web server. A netstat shows the following. At 5AM. > > 169 CLOSING > 65 ESTABLISHED > 15 FIN_WAIT_1 > 5 FIN_WAIT_2 > 16 LAST_ACK > 2 SYN_RCVD > 2 SYN_SENT > 34 TIME_WAIT > >During peak hours, I expect two or three times those numbers. >The machine hasn't been rebooted in a month; it's used a maximum >of 2036 clusters. Yes, this is exactly what I was expecting. Thanks for the numbers to back this up. >Web servers in particular are going to want a large number of >mbufs..... Yes, absolutely. WWW servers are especially evil because of their transaction oriented nature. TCP was never designed for that. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project