From owner-freebsd-current@FreeBSD.ORG Tue Mar 11 01:39:27 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 4282E1065671 for ; Tue, 11 Mar 2008 01:39:27 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.freebsd.org (Postfix) with ESMTP id EB91F8FC1B for ; Tue, 11 Mar 2008 01:39:26 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so3170822pyb.10 for ; Mon, 10 Mar 2008 18:39:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=xHKWFriyhk1StixSgl3cRvhE9lq3hwS/aEyNPEmjDGE=; b=wdwc3aiPpE2rO30xY0q9bMIGxecQQpicEbhdUJJI6qmK5rhPLsWXvwaZ64XV3CxNlDR4oQaIEbUDejZKsSlXqtQni2VtR4chPEnhm7jPVamPYHXri5R2/y9U6R3JXYzkdCu672zhlyyrGoTC7a/+gPrRdgb+BiRm1jq3uthSp0w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=i6wWzs2iWOIboOcE/kZbUkZww9+OggpU2THg9SMBLFbQ7/M/1Qi3EQYgaktNGq94Mm7ILcZ9Nnbl4gHjE1SH+/4gE0Owjw/hft/qRuclA3WMJrZfypmj58szzTReAOJUaOdx139PdGDAN60ftSpfiCwqV/MNIwFNxox+0U229TY= Received: by 10.65.151.17 with SMTP id d17mr11485733qbo.60.1205198029248; Mon, 10 Mar 2008 18:13:49 -0700 (PDT) Received: by 10.64.148.4 with HTTP; Mon, 10 Mar 2008 18:13:49 -0700 (PDT) Message-ID: <5f67a8c40803101813k3a2b790dk57b67bc2d6f85d17@mail.gmail.com> Date: Mon, 10 Mar 2008 21:13:49 -0400 From: "Zaphod Beeblebrox" To: "Kris Kennaway" In-Reply-To: <47D5D2B2.90202@FreeBSD.org> MIME-Version: 1.0 References: <47D544B1.6070806@bsdunix.ch> <47D5D2B2.90202@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 01:39:27 -0000 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)...