From owner-freebsd-hackers Fri May 21 11:37:20 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from relay2.mail.uk.psi.net (relay2.mail.uk.psi.net [154.32.107.6]) by hub.freebsd.org (Postfix) with ESMTP id 4F48914CC7 for ; Fri, 21 May 1999 11:37:14 -0700 (PDT) (envelope-from amobbs@allstor-sw.co.uk) Received: from mail.plasmon.co.uk ([193.115.5.217]) by relay2.mail.uk.psi.net with smtp (Exim 2.02 #3) id 10kuAS-0005Il-00 for freebsd-hackers@freebsd.org; Fri, 21 May 1999 19:37:12 +0100 Received: by mail.plasmon.co.uk(Lotus SMTP MTA v4.6.3 (778.2 1-4-1999)) id 80256778.006603AC ; Fri, 21 May 1999 19:34:16 +0100 X-Lotus-FromDomain: PLASNOTES From: amobbs@allstor-sw.co.uk To: freebsd-hackers@freebsd.org Message-ID: <80256778.006601D6.00@mail.plasmon.co.uk> Date: Fri, 21 May 1999 19:34:10 +0100 Subject: Re: Wired memory "leaking" Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >I've got a problem that my KLD is "leaking" wired memory. > >It's not actually growing in size, vmstat -m shows a fairly constant allocation, >and certainly "high" isn't increasing. It's just that as I use it more, and more >memory gets wired down, and the system becomes unusable. [blah] Just for the archives, it was, predictably, a memory leak after all. My _vnops.c wasn't freeing the cn_pnbuf. Why Oh Why(tm) is everything else freed for you, but the path buffer is left to the poor, confused, FS to free? Andrew. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message