[Bug 202409] vm_thread_new: kstack allocation failed on FreeBSD 10.x

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Oct 12 02:06:21 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202409

--- Comment #2 from ota at j.email.ne.jp ---
(In reply to Mikhail Teterin from comment #1)

How much kmem_size do you set?

My machine has 2GB and I had vm.kmem_size originally had set 768MB for the
purpose of ZFS.

I looked into the cases and tried to find how to recover.  I noticed that after
seeing the error message, resources aren't recovered after process ends. 
However, I couldn't figure out why resources are left leaked.

After few months of watching, I suspected too much kernel memory allocation and
reduced it down to 512MB.  Since then, system became more stable and I stopped
seeing this error happening.

#vm.kmem_size="768m" # bad
vm.kmem_size="512m" # okay

It looks over allocation made system unstable.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list