Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2003 23:37:46 -0500 (CDT)
From:      Mike Silbersack <silby@silby.com>
To:        Vincent Jardin <vjardin@free.fr>
Cc:        net@freebsd.org
Subject:   Re: KMAP ENTRY limit
Message-ID:  <20030910233631.P67226@odysseus.silby.com>
In-Reply-To: <200309110106.28960.vjardin@free.fr>
References:  <200309110106.28960.vjardin@free.fr>

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

On Thu, 11 Sep 2003, Vincent Jardin wrote:

> Hi,
>
> I get a FreeBSD 4.8 that reaches the limit of KMAP ENTRY whereas it remains
> enough free memory. How is computed this limit and how can it be increased ?
>
> $ vmstat -z
> ITEM            SIZE     LIMIT    USED    FREE  REQUESTS
>   ...
> KMAP ENTRY:       48,     7933,    130,    168,     1037
> (panic when SIZE >= LIMIT)
>
> Moreover, why should vm_map_entry_create() panic when zalloc() returns NULL ?
> I think one can return NULL without panicing. Is it a bug or a feature ?
>
> Regards,
>   Vincent

Heh, Tor just proposed raising the number of kmap entries allocated in a
private thread.  So, I think you'll see that change in soon enough.

BTW, I hope size doesn't change as your machine is running. :)

Mike "Silby" Silbersack



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