ZFS kmem_map too small.

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Oct 5 07:48:13 PDT 2007


On Fri, Oct 05, 2007 at 12:19:59PM +0200, Claus Guttesen wrote:
> > I have a server which gets these 'kmem_map too small' stops. I have an
> > Dell PE2850 and is running current as of Sept. 26'th 2007. The error
> > is easy to trigger. I have copied 90 GB of jpeg-files with a size of
> > approx. 1 MB and a thumbnail at 4 KB. These files are distributed in
> > approx. 700 folders. The files resides on it's own partition.
> 
> Forgot to mention:
> 
> amd64, 4 GB ram, second gen. zzzeon. qlogic hba's.
> 
> zetta~%>more /boot/loader.conf:
> #vm.kmem_size=512M
> #vm.kmem_size=640M
> vm.kmem_size=768M
> #vm.kmem_size_max=512M
> #vm.kmem_size_max=640M
> vm.kmem_size_max=1024M
> vfs.zfs.arc_max=1536M

That's bad for sure. arc_max can't be larger than kmem_size. I should
tune it down automatically in that case. Try something like 700-800MB
for arc_max or increase kmem_size to 2GB.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20071005/22ece34b/attachment.pgp


More information about the freebsd-fs mailing list