vm_thread_new: kstack allocation failed with vm.kmem_size="1536M"

Dan Nelson dnelson at allantgroup.com
Sat Feb 28 19:10:13 PST 2009


In the last episode (Mar 01), Pete French said:
> > 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?
> 
> Nope, I get 419430400 (i.e. 400M) on all the machines without anything
> in loader.conf - what version of FreeBSD are you running to get those
> numbers ? I thought that 1536M was the absolute maximum for kmem
> in versions of FreeBSD before 8-CURRENT.

I'm running 7-STABLE as of Feb 26 or so.  Commit r187466 on Jan 20 bumped up
kmem_size_max on amd64 to 3.6GB:

http://svn.freebsd.org/viewvc/base?view=revision&revision=187466

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-stable mailing list