From owner-freebsd-current@FreeBSD.ORG Sun Jun 13 16:07:41 2004 Return-Path: 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 DEE1B16A4CE for ; Sun, 13 Jun 2004 16:07:41 +0000 (GMT) Received: from smtp-gw-cl-d.dmv.com (smtp-gw-cl-d.dmv.com [216.240.97.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DF6E43D1F for ; Sun, 13 Jun 2004 16:07:41 +0000 (GMT) (envelope-from sven@dmv.com) Received: from mail-gw-cl-b.dmv.com (mail-gw-cl-b.dmv.com [216.240.97.39]) i5DG6YRv021786; Sun, 13 Jun 2004 12:06:34 -0400 (EDT) (envelope-from sven@dmv.com) Received: from [192.168.1.2] (dogpound.dyndns.org [64.45.134.154]) by mail-gw-cl-b.dmv.com (8.12.9/8.12.9) with ESMTP id i5DG6Xnq060577; Sun, 13 Jun 2004 12:06:33 -0400 (EDT) (envelope-from sven@dmv.com) Message-ID: <40CC7BA6.8010308@dmv.com> Date: Sun, 13 Jun 2004 12:07:02 -0400 From: Sven Willenberger User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org References: <20040613085526.GA11577@cell.sick.ru> In-Reply-To: <20040613085526.GA11577@cell.sick.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.39 cc: Gleb Smirnoff Subject: Re: panic: kmem_malloc(4096) on an SMP box X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jun 2004 16:07:42 -0000 Gleb Smirnoff wrote: > Today we have evidenced a panic on a DELL PowerEdge 1400 > with two processors on board: > > panic: kmem_malloc(4096): kmem_map too small: 209715200 total allocated > cpuid = 0; > On our 2G RAM supermicro systems the following in the kernel config file worked: options VM_KMEM_SIZE_SCALE="2" options VM_KMEM_SIZE_MAX="(512*1024*1024)" If you are using 4G+ you may want to increase MAX and perhaps reduce scaling and also add: options KVA_PAGES=512 Sven