Date: Thu, 25 Sep 2008 08:25:19 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-stable@freebsd.org Cc: Bartosz Stec <admin@kkip.pl> Subject: Re: vm.kmem_size settings doesn't affect loader? Message-ID: <200809250825.19757.jhb@freebsd.org> In-Reply-To: <48DB6772.1060400@kkip.pl> References: <48DB6772.1060400@kkip.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 25 September 2008 06:26:58 am Bartosz Stec wrote: > > Today I've experienced zfs-related kernel panic. Log says: > > savecore: reboot after panic: kmem_malloc(131072): kmem_map too > small: 327684096 total allocated > > Reported amount of memory (327684096) is wrong, because i made suggested > tuning in my loader.conf: > > vm.kmem_size="512M" > vm.kmem_size_max="512M" > > Just to be sure: > > # sysctl vm | grep kmem > vm.kmem_size: 536870912 > vm.kmem_size_min: 0 > vm.kmem_size_max: 536870912 > vm.kmem_size_scale: 3 > > Am I missing something? If kvm is fragmented you could have a malloc fail even if there are enough total free bytes for the allocatoin. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809250825.19757.jhb>