Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Feb 2036 03:29:13 -0800 (PST)
From:      Simon Shapiro <shimon@simon-shapiro.org>
To:        David Greenman <dg@root.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Panic: kmem_malloc: kmem_map too small
Message-ID:  <XFMail.360207032913.shimon@simon-shapiro.org>
In-Reply-To: <199801072203.OAA16705@implode.root.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 07-Jan-98 David Greenman wrote:
>>I receive that mainly under SMP, but looking at vm/vm_kern.c I do not see
> 
>    Sounds like you need to increase the kmem_map size - you're running
> out
> of malloc space. This can be done by changing VM_KMEM_SIZE in
> /sys/i386/include/vmparam.h. The problem might indicate that you have a
> very large system, a mistuned system, or perhaps could even indicate a
> kernel memory leak. I suggest that you carefully analyze the output of
> "vmstat -m" to determine where it's all going.

I doubled this (VM_KMEM_SIZE) variable and gained a bounce buffers out of
range panic.  I disabled the bounce buffers and the problem is gone.

This indicates to me (the trivially obvious) that certain kernel tunables
are related to each other.  Critically so.  I would have loved to help in
building a configuration system that would take these inter-dependancies
into account but am totally unqualified for the job.  Do you think a
qualified core member could either do the job, or create (as comprehensive
as possible) list of these symbols, and their interactions.  If the latter
is done, I will device the mechanism, if so desired.

Thanx again for your help.

Simon




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