vm_thread_new: kstack allocation failed with many ZFS FS and NFSD

Kris Kennaway kris at FreeBSD.org
Tue Mar 11 07:47:37 UTC 2008


Zaphod Beeblebrox wrote:
> 
> 
> On Mon, Mar 10, 2008 at 8:30 PM, Kris Kennaway <kris at freebsd.org 
> <mailto:kris at freebsd.org>> wrote:
>  
> 
>     Your kernel has run out of memory.  If you cannot tune kmem_size further
>     then it cannot handle this many ZFS filesystems.
> 
> 
> Roughly how much kernel memory does a filesystem use (even if inactive) 
> --- or did you really mean something like too many pools?
> 
> The ZFS documentation encourages creating filesystems for everything.  I 
> think my (rather beafy) laptop has 20 filesystems now for various tasks 
> --- but I didn't realize there was a non-trivial cost (that is: a cost 
> beyond the mount structure, root vnodes and whatnot)...
> 
> 

Well everything has a memory requirement when you add additional 
instances of it :)  I don't know what the breakdown is for ZFS.

Kris


More information about the freebsd-fs mailing list