kern/123813: [panic] 7.0-STABLE i386 reboots weekly with panic: kmem_malloc(11186176): kmem_map too small: 315637760 total allocated

Kris Kennaway kris at FreeBSD.org
Tue May 27 09:53:06 UTC 2008


S Roberts wrote:
> Hello,
> 
> On Fri, 23 May 2008 23:26:26 GMT, vwe at FreeBSD.org said:
>> Synopsis: [panic] 7.0-STABLE i386 reboots weekly with panic:
>> kmem_malloc(11186176): kmem_map too small: 315637760 total allocated
>>
>> State-Changed-From-To: open->feedback
>> State-Changed-By: vwe
>> State-Changed-When: Fri May 23 23:23:11 UTC 2008
>> State-Changed-Why: 
>>
>> Stacey, please try increasing vm.kmem_size_max in /etc/loader.conf and
>> reboot.
> 
> Is this the procedure for i386?
> 
> I thought that setting this in /etc/loader.conf is only viable for
> amd64.,

First, it's /boot/loader.conf, but it is supported on all architectures.

To add some detail, the panic indicates that your kernel ran out of 
memory because of the workload your system was running on it.  Unless 
you are hitting a memory leak, the solution is to allocate it more memory.

Kris



More information about the freebsd-bugs mailing list