Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2018 02:06:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 202409] vm_thread_new: kstack allocation failed on FreeBSD 10.x
Message-ID:  <bug-202409-227-IOxrFh3JQw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-202409-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-202409-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202409

--- Comment #2 from ota@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 a=
fter
seeing the error message, resources aren't recovered after process ends.=20
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 stop=
ped
seeing this error happening.

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

It looks over allocation made system unstable.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202409-227-IOxrFh3JQw>