Date: Thu, 26 Oct 2006 00:36:25 +0200 From: Stefan Bethke <stb@lassitu.de> To: Jeremy Chadwick <freebsd@jdc.parodius.com> Cc: FreeBSD Stable <freebsd-stable@freebsd.org> Subject: Re: panic: kmem_map too small Message-ID: <E95426A0-8BB6-4312-A6B6-63E06BC779D6@lassitu.de> In-Reply-To: <20061025173115.GA97447@icarus.home.lan> References: <CD619308-6B7B-4B68-B011-CE979D67E0C1@lassitu.de> <20061025173115.GA97447@icarus.home.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 25.10.2006 um 19:31 schrieb Jeremy Chadwick: > Try tuning memory parameters via loader.conf: > > $ cat /boot/loader.conf > # Increase maximum allocatable memory on a process to 768MB. > # We don't choose 2GB (our amount of RAM) since that would > # exhaust all memory, and result in a kernel panic. Maximum > # stack size is still set to 128MB. One can view these > # settings using limits(1). > # > kern.maxdsiz="805306368" > kern.dfldsiz="805306368" > kern.maxssiz="134217728" > > Adjusting kern.maxfiles and kern.maxfilesperproc might also help. Sorry, I'm not sure I understand correctly. How would increasing the per-process limits help with memory exhaustion in the kernel? Stefan -- Stefan Bethke <stb@lassitu.de> Fon +49 170 346 0140
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E95426A0-8BB6-4312-A6B6-63E06BC779D6>