From owner-freebsd-stable@FreeBSD.ORG Sat Feb 28 23:01:33 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7B7F1065688 for ; Sat, 28 Feb 2009 23:01:33 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 5E1988FC31 for ; Sat, 28 Feb 2009 23:01:33 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id n1SN1W8D098005 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 28 Feb 2009 17:01:32 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id n1SN1Vvj029079 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 28 Feb 2009 17:01:32 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id n1SN1UHg029078; Sat, 28 Feb 2009 17:01:30 -0600 (CST) (envelope-from dan) Date: Sat, 28 Feb 2009 17:01:30 -0600 From: Dan Nelson To: Pete French Message-ID: <20090228230127.GA3465@dan.emsphone.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 7.1-STABLE User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: ClamAV version 0.94.1, clamav-milter version 0.94.1 on email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Sat, 28 Feb 2009 17:01:32 -0600 (CST) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-stable@freebsd.org Subject: Re: vm_thread_new: kstack allocation failed with vm.kmem_size="1536M" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2009 23:01:34 -0000 In the last episode (Feb 28), Pete French said: > So, I have a farm of machines runnign 7.1/amd64, all of which have 16 gig > of memory in them. This afternoon, as an experiment, I altered > loader.conf to have these two lines in it: > > vm.kmem_size="1536M" > vm.kmem_size_max="1536M" > > This is what I do on machines running ZFS - these machines are not, > however running ZFS, and do not have the zfs module loaded. I just wanted > to see if they would run OK with those kernel settings (as I may put ZFS > on them in the future) You've probably reduced kmem_size from the default. I don't set anything on my 6 GB amd64 system, and I get: $ sysctl vm.kmem_size vm.kmem_size_max vm.kmem_size: 2061496320 vm.kmem_size_max: 3865468109 I assume your 16GB system would default to even larger numbers. What values do you get without forcing anything in loader.conf? -- Dan Nelson dnelson@allantgroup.com