Bug 202409 - vm_thread_new: kstack allocation failed on FreeBSD 10.x
Summary: vm_thread_new: kstack allocation failed on FreeBSD 10.x
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.0-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
Depends on:
Reported: 2015-08-18 06:36 UTC by ota
Modified: 2015-08-18 06:36 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description ota 2015-08-18 06:36:40 UTC
After creating some processes/threads, I encounter following to errors and the are printed to dmesg.

pmap_mapdev: Couldn't alloc kernel virtual memory
vm_thread_new: kstack allocation failed

System becomes unstable thereafter most of times although it depends on what failed to allocate memory.

This happens on any 10.x releases but not 11 current.

Easiest way to reproduce is use benchmarks/forkbomb

% forkbomb -f

brings the above errors in few seconds.

I recall a special fix applied to 9.x stable a while ago but the change didn't seem to apply to 10.x releases.