From owner-freebsd-hackers@FreeBSD.ORG Sat May 1 15:27:28 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51E5F16A4CE for ; Sat, 1 May 2004 15:27:28 -0700 (PDT) Received: from schlepper.zs64.net (schlepper.zs64.net [212.12.50.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 159BF43D45 for ; Sat, 1 May 2004 15:27:27 -0700 (PDT) (envelope-from stb@lassitu.de) Received: from [IPv6:::1] (schlepper [212.12.50.230]) by schlepper.zs64.net (8.12.10/8.11.1) with ESMTP id i41MRM7D061538; Sun, 2 May 2004 00:27:23 +0200 (CEST) (envelope-from stb@lassitu.de) In-Reply-To: <20040429000158.GA61693@xor.obsecurity.org> References: <409024D6.7090800@parc.com> <20040429000158.GA61693@xor.obsecurity.org> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Stefan Bethke Date: Sun, 2 May 2004 00:27:22 +0200 To: Kris Kennaway X-Mailer: Apple Mail (2.613) cc: sunsa@parc.com cc: hackers@freebsd.org cc: John Uhlig Subject: Re: kmem_malloc crashes running FreeBSD 5.2.1-RELEASE-p5 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 May 2004 22:27:28 -0000 Am 29.04.2004 um 02:01 schrieb Kris Kennaway: > On Wed, Apr 28, 2004 at 02:40:38PM -0700, John Uhlig wrote: >> On the web, freebsd mailing lists and bug lists, I have seen existing >> thread about "kmem_malloc and kmem_map too small" problems - but no >> evidence of a fix or patch. We experienced the same problem running >> 4.9 but were able to fix it by setting the MAXMEM option in our >> kernel conf file to a value 1GB less than actual physical memory >> size. This does not help with 5.2.1-RELEASE-p5. >> > See PR 53416. You just need to tune your kernel resource allocation > to deal with the large amount of memory your system has. I recently enquired about advice for this exact situation on -current (see http://lists.freebsd.org/pipermail/freebsd-current/2004-April/ 026065.html), but didn't really get any. The PR does not give advice on which parameters in which way, or list a solution. My own experimentation has been inconclusive; the machine still panics when running the daily scripts. I'm running a cron job every minute to record various vm statistics now; hopefully this will give me further pointers. How does PAE affect this? My box has 6 GB, but I have disabled PAE for the moment. And just for clarification: the panic is with basically no load, just some file system pressure (two jails running the daily scripts); otherwise, the machine is unused. Stefan -- Stefan Bethke Fon +49 170 346 0140