From owner-freebsd-fs@FreeBSD.ORG Tue Nov 6 09:30:00 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40A4516A41B; Tue, 6 Nov 2007 09:30:00 +0000 (UTC) (envelope-from BORJAMAR@SARENET.ES) Received: from proxypop1.sarenet.es (proxypop1.sarenet.es [194.30.0.99]) by mx1.freebsd.org (Postfix) with ESMTP id EDFAF13C4BD; Tue, 6 Nov 2007 09:29:59 +0000 (UTC) (envelope-from BORJAMAR@SARENET.ES) Received: from localhost (matahari.sarenet.es [192.148.167.18]) by proxypop1.sarenet.es (Postfix) with ESMTP id 89A195CA5; Tue, 6 Nov 2007 10:04:55 +0100 (CET) Message-Id: <6214AB9C-9F9B-4B9D-8B05-0B3DF5F6C16D@SARENET.ES> From: Borja Marcos To: Niki Denev In-Reply-To: <2e77fc10711051531k41e7224dq6aaedb35cad8d9f2@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Date: Tue, 6 Nov 2007 10:04:43 +0100 References: <20071005000046.GC92272@garage.freebsd.pl> <20071008121523.GM2327@garage.freebsd.pl> <20071105215035.GC26730@heff.fud.org.nz> <2e77fc10711051531k41e7224dq6aaedb35cad8d9f2@mail.gmail.com> X-Mailer: Apple Mail (2.912) Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: Re: ZFS kmem_map too small. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2007 09:30:00 -0000 On Nov 6, 2007, at 12:31 AM, Niki Denev wrote: > I have fairly easy reproductable (bonnie++) kmem_map too small panics > on AMD64 even with kmem_size and kmem_size_max to 1G on 8Gig machine. > I've tried setting them to 2G but the kernel panics on boot. > I have compiled in debugger support and can provide backtraces and > testing if needed (the machine is still not in production). Same here. I can provoke an instant panic running (for example) a make buildworld and bonnie++. I have all the filesystems on ZFS, booting from a USB pendrive. I tried to set the kernel memory limits to 1.5 GB but it still crashes with the kmem_too_small panic. I also tried the patch supplied by Pawel. The machine has 6 hard disks configured as a raidz2 pool. Please let me know of any test anyone might need. Borja. ---------------- "The thing he realised about the windows was this: because they had been converted into openable windows after they had first been designed to be impregnable, they were, in fact, much less secure than if they had been designed as openable windows in the first place." Douglas Adams, "Mostly Harmless"