RELENG_7_0: vm_thread_new: kstack allocation failed

Kostik Belousov kostikbel at gmail.com
Tue Jan 22 21:12:40 PST 2008


On Tue, Jan 22, 2008 at 03:45:32PM -0800, Xin LI wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> I have got a lot of this in dmesg output for RELENG_7_0 as of today:
> 
> vm_thread_new: kstack allocation failed
> vm_thread_new: kstack allocation failed
> vm_thread_new: kstack allocation failed
> vm_thread_new: kstack allocation failed
> vm_thread_new: kstack allocation failed
> vm_thread_new: kstack allocation failed
> 
> Any idea?

Does it cause any problems aside from printing these messages ?
What workload do you put on the machine ?

The messages came from the failure of the kernel to allocate address
space for the kernel stack for a thread being created. Previously, the
system would panic encountering this situation.

This may happen due to kernel_map address space depletion, for instance,
by having a lot (on i386 machines with > 1Gb memory, ~40000) threads.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080123/03737b45/attachment.pgp


More information about the freebsd-current mailing list