Date: Sat, 04 Jan 2003 12:58:06 -0800 From: Terry Lambert <tlambert2@mindspring.com> To: Hiroki Sato <hrs@eos.ocn.ne.jp> Cc: phk@FreeBSD.ORG, wjw@withagen.nl, current@FreeBSD.ORG Subject: Re: panic with panic: kmem_malloc(4096): kmem_map too small... Message-ID: <3E174ADE.C7D1B572@mindspring.com> References: <03a701c2b38c$8e3ad990$471b3dd4@dual> <7651.1041670679@critter.freebsd.dk> <20030105.034940.18284223.hrs@eos.ocn.ne.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
Hiroki Sato wrote: > I also had "kmem_malloc(4096): kmem_map too small: 275378176 total allocated" > several times on -current as of Jan 4th. My -current box has 3GB memory, > but when the memory size is explicitly specified as 2GB via MAXMEM option, > the panic disappears (but I don't know why...). Because the kmem map is a fixed segment of virtual space for which page mappings are established, and adding more memory increases the amount of page mappings required, without increasing the space available for the mappings. It is not something which can be easily tuned automatically. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E174ADE.C7D1B572>
