From owner-freebsd-net@FreeBSD.ORG Mon Dec 15 07:57:33 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A55DA1065675 for ; Mon, 15 Dec 2008 07:57:33 +0000 (UTC) (envelope-from yonyossef.lists@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id 325B88FC1C for ; Mon, 15 Dec 2008 07:57:33 +0000 (UTC) (envelope-from yonyossef.lists@gmail.com) Received: by ug-out-1314.google.com with SMTP id 30so117354ugs.39 for ; Sun, 14 Dec 2008 23:57:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:mime-version:content-type:x-mailer:thread-index :x-mimeole; bh=JnWCeszFZdyhyuE/XUyLQhQA7Y+eG5NAgcFZ9+dDBPI=; b=DZkfmJMmyC58zq/b73DSIuvYdbe4klIfmQhRzYYTnU0QdOMIHPxdFqXLnalQGp6G5r QRmjqvHjLNm0M5zFGXXi3P6qorOhaYy57wa6eSSem5nbL9wkygLnzVADb575X0Y8HvXf 7wU9jVz++E0P+OBAAw4RQGQn8cTibcl1Aklpw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type:x-mailer :thread-index:x-mimeole; b=P+89A5cAPkWN1ACc3EY854AsB0mZ4refVSSLKd/2dcbgqBZsIYXtT8SKlQ9WoS89mM fHKhmWBY/O5HYd6Q6UFb6Dmt1MxinxyZLtZ1ToF8PxDad3R0UMof/ud/vUAZiQTjc3qK C3K4z6ILo3N7IqDat02+FUZluCrFWlVFQoO8Y= Received: by 10.66.238.16 with SMTP id l16mr1698543ugh.38.1229327851939; Sun, 14 Dec 2008 23:57:31 -0800 (PST) Received: from mtllpt03 (DSL212-235-20-133.bb.netvision.net.il [212.235.20.133]) by mx.google.com with ESMTPS id 6sm95169ugc.39.2008.12.14.23.57.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 14 Dec 2008 23:57:31 -0800 (PST) From: "Yony Yossef" To: Date: Mon, 15 Dec 2008 09:57:19 +0200 Message-ID: <000001c95e8a$c7f1cc20$220f000a@mtl.com> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcleidyyXb477L6XScq9SC1isCCsOw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Detecting network memory leaks using netstat -m X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2008 07:57:33 -0000 Hi All, I'm trying to find out whether my ethernet driver is leaking. I just found out about netstat -m, but I don't understand some of it's output. Can somebody explain me what is "mbuf+clusters out of packet secondary zone in use" ? My output shows it raised significantly during equilibrium after several stress runs: BEFORE 16641/217734/234375 mbufs in use (current/cache/total) 16640/217766/234406/262144 mbuf clusters in use (current/cache/total/max) 256/1664 mbuf+clusters out of packet secondary zone in use (current/cache) AFTER 625083/86562/711645 mbufs in use (current/cache/total) 180264/81880/262144/262144 mbuf clusters in use (current/cache/total/max) 160420/311 mbuf+clusters out of packet secondary zone in use (current/cache) Thanks Yony