Getting 'vm_thread_new: kstack allocation failed' errors after latest drm updates.

Richard Todd rmtodd at
Tue Dec 23 21:37:26 UTC 2008

On Tue, Dec 23, 2008 at 12:04:49PM -0600, Alan Cox wrote:
> 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

Ah, so there's stuff the kernel allocates that's not inside the region 
controlled by kmem_size.  Interesting.

Anyway, knocking  vm.kmem_size down by 128M seems to fix things.  Thanks!


More information about the freebsd-current mailing list