From owner-freebsd-stable@FreeBSD.ORG Wed Oct 25 22:36:29 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28E1616A40F for ; Wed, 25 Oct 2006 22:36:29 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from koef.zs64.net (koef.zs64.net [212.12.50.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 888F043D5D for ; Wed, 25 Oct 2006 22:36:28 +0000 (GMT) (envelope-from stb@lassitu.de) Received: (from stb@koef.zs64.net) (authenticated) by koef.zs64.net (8.13.8/8.13.8) with ESMTP id k9PMaQ3g003626 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 26 Oct 2006 00:36:26 +0200 (CEST) (envelope-from stb@lassitu.de) In-Reply-To: <20061025173115.GA97447@icarus.home.lan> References: <20061025173115.GA97447@icarus.home.lan> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Stefan Bethke Date: Thu, 26 Oct 2006 00:36:25 +0200 To: Jeremy Chadwick X-Mailer: Apple Mail (2.752.2) Cc: FreeBSD Stable Subject: Re: panic: kmem_map too small X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Oct 2006 22:36:29 -0000 Am 25.10.2006 um 19:31 schrieb Jeremy Chadwick: > Try tuning memory parameters via loader.conf: > > $ cat /boot/loader.conf > # Increase maximum allocatable memory on a process to 768MB. > # We don't choose 2GB (our amount of RAM) since that would > # exhaust all memory, and result in a kernel panic. Maximum > # stack size is still set to 128MB. One can view these > # settings using limits(1). > # > kern.maxdsiz="805306368" > kern.dfldsiz="805306368" > kern.maxssiz="134217728" > > Adjusting kern.maxfiles and kern.maxfilesperproc might also help. Sorry, I'm not sure I understand correctly. How would increasing the per-process limits help with memory exhaustion in the kernel? Stefan -- Stefan Bethke Fon +49 170 346 0140