From owner-freebsd-current Fri Oct 11 1:10:32 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D5D137B401; Fri, 11 Oct 2002 01:10:31 -0700 (PDT) Received: from uucp.nl.uu.net (uucp.nl.uu.net [193.79.237.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DD4A43EAF; Fri, 11 Oct 2002 01:10:30 -0700 (PDT) (envelope-from ben@stuyts.nl) Received: from stuyts by uucp.nl.uu.net with UUCP id ; Fri, 11 Oct 2002 08:10:18 +0000 Received: from lodovik.stuyts.nl (lodovik.stuyts.nl [193.78.231.31]) by stuyts.nl (8.12.6/8.12.6) with ESMTP id g9B8AUIT009838; Fri, 11 Oct 2002 10:10:30 +0200 (CEST) (envelope-from ben@stuyts.nl) Message-Id: <4.3.2.7.2.20021011100633.03783d58@terminus> X-Sender: ben@terminus X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Fri, 11 Oct 2002 10:09:53 +0200 To: Terry Lambert , Robert Watson From: Ben Stuyts Subject: Re: Again: panic kmem_malloc() Cc: current@freebsd.org In-Reply-To: <3DA5FDD7.83D3C725@mindspring.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 00:23 11/10/2002, Terry Lambert wrote: >Robert Watson wrote: > > I've run into this on a couple of boxes, but those boxes were diskless > > root boxes, and used md backed ffs for /tmp and /var. Apparently if you > > do that, you're likely to exceed the kernel's auto-tuned kmem map size. > > That said, they didn't do it as frequently, so perhaps there's been a > > chance. A glance at the malloc buckets on the machine suggested that this > > wasn't a memory leak (the normal candidate in this sort of scenario). > >Use of swapping on additional space not known to the kernel at >boot time, will also cause this; That's not happening on my box. It has 64 MB real memory, 128 MB swap area mounted like this: /dev/da0s1b none swap sw 0 0 pstat -s says: Device 1K-blocks Used Avail Capacity Type /dev/da0s1b 131072 10244 120828 8% Interleaved Is there a way to check the free list of the kernel? Maybe I can find out what action triggers eating al its memory. Ben To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message