From owner-freebsd-questions Thu Nov 21 13: 3:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7C2B37B696; Thu, 21 Nov 2002 13:03:26 -0800 (PST) Received: from silver.he.iki.fi (silver.he.iki.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B3E443E88; Thu, 21 Nov 2002 13:03:25 -0800 (PST) (envelope-from pete@he.iki.fi) Received: from he.iki.fi (localhost.he.iki.fi [127.0.0.1]) by silver.he.iki.fi (8.12.6/8.11.4) with ESMTP id gALL3HuO049959; Thu, 21 Nov 2002 23:03:19 +0200 (EET) (envelope-from pete@he.iki.fi) Message-ID: <3DDD4A15.4030209@he.iki.fi> Date: Thu, 21 Nov 2002 23:03:17 +0200 From: Petri Helenius User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021117 X-Accept-Language: English [en],Finnish [fi] MIME-Version: 1.0 To: David Schultz Cc: freebsd-questions@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: panic: kmem_map too small References: <0e3b01c28fc4$ff9a4ee0$862a40c1@PHE> <20021119152114.GA2228@HAL9000.homeunix.com> <3DDBDE2B.6050407@he.iki.fi> <20021120195919.GA679@HAL9000.homeunix.com> <11fd01c290eb$f48311e0$862a40c1@PHE> <20021121022524.GA2300@HAL9000.homeunix.com> <126801c2912c$5be3cec0$862a40c1@PHE> <20021121205515.GA5716@HAL9000.homeunix.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David Schultz wrote: >Most kernel memory is not pageable, so swap probably won't help >you. Your `kmem_map too small' error message should report to you >the size of the attempted allocation and the size of kmem_map. >If the map really isn't full, I'm not sure why you would get this >panic, unless you're somehow running into excessive fragmentation. > > Nov 3 21:44:52 giga /kernel: panic: kmem_malloc(71000064): kmem_map too small: 183193600 total allocated Nov 3 22:10:30 giga /kernel: panic: kmem_malloc(71000064): kmem_map too small: 175476736 total allocated This is what I'm seeing. Most of the kernel allocated memory was free at the time the panic occurred, but fragmented though. Pete To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message