From owner-freebsd-current@FreeBSD.ORG Tue Dec 23 18:04:50 2008 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 8BC9C1065674; Tue, 23 Dec 2008 18:04:50 +0000 (UTC) (envelope-from alan.l.cox@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by mx1.freebsd.org (Postfix) with ESMTP id 0A38A8FC14; Tue, 23 Dec 2008 18:04:49 +0000 (UTC) (envelope-from alan.l.cox@gmail.com) Received: by wa-out-1112.google.com with SMTP id m34so1473531wag.27 for ; Tue, 23 Dec 2008 10:04:49 -0800 (PST) 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=X9mLbW5r3jD+dSQQVdK29hUgzomrGkLKd8kG55exRyQ=; b=TBXxZLB28olKZAqmR5JnslZlRiQwV/QtfJXxN3+UaaYf2Mn6lu5GfbTENPLJAwiACK 6Wl8WOxN+2EJgYbv9PJ9/LuidT7r3T635KrkNAqF9ahiL2q2viaHDiKgKMH9K0nCAMm9 ItXoplwtOln2Anyp6j8Bef9gj88QbiK/aUliE= 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=pZcnowV6i1IpWXR3TyBCb4YXTlV9yIlgcDcL6MGpmmEPJmXDHIHZcF43mFUykWCewJ 8i4phEvIy9eQE46oV3Afu5hwiDwwJBqdhyu5ediw7qDgSnCVUdHgfmBwRuHRX7qIflZt JnUTN27S1onGru7+UW/+TRA37t18Imw1f9qU4= Received: by 10.114.197.1 with SMTP id u1mr4936385waf.120.1230055489536; Tue, 23 Dec 2008 10:04:49 -0800 (PST) Received: by 10.114.183.15 with HTTP; Tue, 23 Dec 2008 10:04:49 -0800 (PST) Message-ID: Date: Tue, 23 Dec 2008 12:04:49 -0600 From: "Alan Cox" To: "Richard Todd" In-Reply-To: <20081223011032.GA3228@ichotolot.servalan.com> MIME-Version: 1.0 References: <20081223011032.GA3228@ichotolot.servalan.com> 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-current@freebsd.org, rnoland@freebsd.org Subject: Re: Getting 'vm_thread_new: kstack allocation failed' errors after latest drm updates. 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, 23 Dec 2008 18:04:50 -0000 Roughly speaking, vm.kvm_* pertain to the kernel's address space and vm.kmem_* pertain to the kernel's heap within its address space. Your settings of vm.kmem_* have made the heap so large that there is little or no free space left in the address space for other things. These other things, e.g., the buffer cache, are non-trivial in size. So, the short answer is that you need to reduce vm.kmem_size. Alan