From owner-freebsd-performance@FreeBSD.ORG Sat May 28 03:17:33 2005 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0656816A41C for ; Sat, 28 May 2005 03:17:33 +0000 (GMT) (envelope-from mv@roq.com) Received: from p4.roq.com (ns1.ecoms.com [207.44.130.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id C627D43D1D for ; Sat, 28 May 2005 03:17:30 +0000 (GMT) (envelope-from mv@roq.com) Received: from p4.roq.com (localhost.roq.com [127.0.0.1]) by p4.roq.com (Postfix) with ESMTP id 511F64D2EC for ; Sat, 28 May 2005 03:17:53 +0000 (GMT) Received: from [10.0.1.8] (adsl-143-85.swiftdsl.com.au [218.214.143.85]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by p4.roq.com (Postfix) with ESMTP id ADBFC4D326 for ; Sat, 28 May 2005 03:17:52 +0000 (GMT) Message-ID: <4297E2C4.1030505@roq.com> Date: Sat, 28 May 2005 13:17:24 +1000 From: Michael VInce User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.8) Gecko/20050524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-performance@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: High usage of mbufs X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 May 2005 03:17:33 -0000 Hi guys On one of my web servers I have a really high usage of mbuf clusters in use on a web server that does about 3million hits a day. 4294914731/262144 mbuf clusters in use (current/max) Does any one know why this is? I was thought it may of been hit by a small syn flood that went un noticed and that the current mbuf stat is failing to update its real usage, but the number does move every time I run netstat -m This is a dual P4 machine with 4gigs of ram that was setup before 5.4 was release, so it could be considered 5.3 stable. 5.4-PRERELEASE #0: Mon Feb 28 20:01:43 EST 2005 netstat -m 352955 mbufs in use 4294914731/262144 mbuf clusters in use (current/max) 0/27/6656 sfbufs in use (current/peak/max) 4177412 KBytes allocated to network 0 requests for sfbufs denied 0 requests for sfbufs delayed 415 requests for I/O initiated by sendfile 2300 calls to protocol drain routines