From owner-freebsd-current@FreeBSD.ORG Fri Oct 5 10:15:52 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90DBC16A469 for ; Fri, 5 Oct 2007 10:15:52 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.freebsd.org (Postfix) with ESMTP id 4153F13C448 for ; Fri, 5 Oct 2007 10:15:52 +0000 (UTC) (envelope-from kometen@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so959179pyb for ; Fri, 05 Oct 2007 03:15:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=hVvTzAoda6u8Sid3sVHLAKLEvca85q9pGEtB7wi82cM=; b=CFVGTNJ5H/k50F23Lxw6i1rqCwglgDuhOamnYg63nOlMnDb+uzDqozWmFBMMWRCiNDclkyt4PAejirzfDUVSN1SCPmi3DMWSr3j/YI1HcfTtMpANYaKSFRHnjepoeRMw5iSrA3DjciChW79hFANFIJicvTh2FYpETVnzA0vJhHo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HQLDjIWvcm2IDg1bsjtngct3YYxVlXFoL/cAN7AHhAL/LwHP51QVBtQs5HqpPECf3rywX6G0AZyC5+ZfbHcOAEvYiY18NtVUx8DjnNk1RXedkHkojF6ZBUONkH9Xyq200Doi9Dz/9qZ03OfEaBcSv5fwGWjbfUEJGz9nTzbDzeU= Received: by 10.64.153.4 with SMTP id a4mr7975387qbe.1191579351317; Fri, 05 Oct 2007 03:15:51 -0700 (PDT) Received: by 10.65.52.9 with HTTP; Fri, 5 Oct 2007 03:15:51 -0700 (PDT) Message-ID: Date: Fri, 5 Oct 2007 12:15:51 +0200 From: "Claus Guttesen" To: "Pawel Jakub Dawidek" In-Reply-To: <20071005000046.GC92272@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071005000046.GC92272@garage.freebsd.pl> Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: Re: ZFS kmem_map too small. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 05 Oct 2007 10:15:52 -0000 > We'are about to branch RELENG_7 and I'd like to start discussion with > folks that experience 'kmem_map too small' panic with the latest HEAD. > > I'm trying hard to reproduce it and I can't, so I need to gather more > info how you are able to provoke this panic. > > What I did was to rsync 200 FreeBSD src trees from one directory to > another on the same ZFS file system. It worked fine. I have a server which gets these 'kmem_map too small' stops. I have an Dell PE2850 and is running current as of Sept. 26'th 2007. The error is easy to trigger. I have copied 90 GB of jpeg-files with a size of approx. 1 MB and a thumbnail at 4 KB. These files are distributed in approx. 700 folders. The files resides on it's own partition. It crashed while I copied the files down to the server and the server crashed copying the files on to another partiton on the same server. Everytime it crashed with a 'kmem_map too small' it seemed to want slightly more than was set aside in vm.kmem_size. So I adjusted it upwards from 512M, 640M and finally 768M. vm.kmem_size_max was set at 512M, 640M and finally 1024M (1 GB). It crashed with alot of file i/o. When I stopped copying files the server has been stable. It did *not* occur with a kernel build at May 25'th 2007. So now I will either downgrade or move the zfs-partitions to (open)solaris. We are getting closer to our xmas-season and I need to have a rock-solid zfs-server. -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare