Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2008 11:09:42 +0100
From:      "S Roberts" <sroberts@internet-mail.org>
To:        "Kris Kennaway" <kris@FreeBSD.org>
Cc:        freebsd-bugs@FreeBSD.org, vwe@FreeBSD.org
Subject:   Re: kern/123813: [panic] 7.0-STABLE i386 reboots weekly with panic: kmem_malloc(11186176): kmem_map too small: 315637760 total allocated
Message-ID:  <1211882982.13732.1255236927@webmail.messagingengine.com>
In-Reply-To: <483BDA00.8040207@FreeBSD.org>
References:  <200805232326.m4NNQQG4089363@freefall.freebsd.org> <1211876727.24906.1255223109@webmail.messagingengine.com> <483BDA00.8040207@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Kris,
    Good to hear from you..,

On Tue, 27 May 2008 11:53:04 +0200, "Kris Kennaway" <kris@FreeBSD.org>
said:
> S Roberts wrote:
> > Hello,
> > 
> > On Fri, 23 May 2008 23:26:26 GMT, vwe@FreeBSD.org said:

<snipped>
 
> >>
> >> 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.
> 

Indeed - sorry, my mistake..,

> 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.
> 

Thanks for that - reading a bit more into it, I have set the following
(based on installed memory: "Physical memory: 2023 MB"):

$ grep -i vm.kmem /boot/loader.conf 
vm.kmem_size=671088640
$

And have rebooted.

Will see how this works out.

Thanks again for taking the time to explain..,

Regards,

S Roberts


> Kris
> 
-- 
  S Roberts
  sroberts@internet-mail.org

-- 
http://www.fastmail.fm - Does exactly what it says on the tin




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