From owner-freebsd-current@FreeBSD.ORG Tue Mar 11 07:47:37 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 219531065671; Tue, 11 Mar 2008 07:47:37 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 988948FC1C; Tue, 11 Mar 2008 07:47:35 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47D63917.9080800@FreeBSD.org> Date: Tue, 11 Mar 2008 08:47:35 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Zaphod Beeblebrox References: <47D544B1.6070806@bsdunix.ch> <47D5D2B2.90202@FreeBSD.org> <5f67a8c40803101813k3a2b790dk57b67bc2d6f85d17@mail.gmail.com> In-Reply-To: <5f67a8c40803101813k3a2b790dk57b67bc2d6f85d17@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, current@freebsd.org, Thomas Vogt Subject: Re: vm_thread_new: kstack allocation failed with many ZFS FS and NFSD 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: Tue, 11 Mar 2008 07:47:37 -0000 Zaphod Beeblebrox wrote: > > > On Mon, Mar 10, 2008 at 8:30 PM, Kris Kennaway > wrote: > > > Your kernel has run out of memory. If you cannot tune kmem_size further > then it cannot handle this many ZFS filesystems. > > > Roughly how much kernel memory does a filesystem use (even if inactive) > --- or did you really mean something like too many pools? > > The ZFS documentation encourages creating filesystems for everything. I > think my (rather beafy) laptop has 20 filesystems now for various tasks > --- but I didn't realize there was a non-trivial cost (that is: a cost > beyond the mount structure, root vnodes and whatnot)... > > Well everything has a memory requirement when you add additional instances of it :) I don't know what the breakdown is for ZFS. Kris