From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 31 08:22:52 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2095A37B401 for ; Mon, 31 Mar 2003 08:22:52 -0800 (PST) Received: from chaos.evolve.za.net (chaos.evolve.za.net [196.34.172.107]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DE2643F93 for ; Mon, 31 Mar 2003 08:22:50 -0800 (PST) (envelope-from cole@optec.co.za) Received: from amavis by chaos.evolve.za.net with scanned-ok (Exim 3.36 #1) id 19023b-0006Qv-00 for freebsd-hackers@freebsd.org; Mon, 31 Mar 2003 18:22:47 +0200 Received: from [196.39.126.250] (helo=stalker) by chaos.evolve.za.net with asmtp (TLSv1:RC4-MD5:128) (Exim 3.36 #1) id 19023a-0006Qk-00 for freebsd-hackers@freebsd.org; Mon, 31 Mar 2003 18:22:46 +0200 Message-ID: <000901c2f7a2$15c17dc0$4206000a@stalker> From: "Stalker" To: Date: Mon, 31 Mar 2003 18:25:00 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Virus-Scanned: by Opteq - www.optec.co.za Subject: Mbuf Question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2003 16:22:53 -0000 Hey Just a quick question, we have a bsd box that is running out of mbufs, its just constantly increasing and we cant quite shut down a process at a time to find the cause since its a live box. So what i would like to know, is, is it possible to code a program to see how many mbufs are allocated to which program and find the one using them all up? Or is that not at all possible? If it is possible, could you put me in the right direction to accomplish this and the libraries or functions i might need to read/learn? Thanx Cole/Stalker